'How can I show output message for user to see after registration

I made registration form,but I don't know how to display message to user if email that he inserted is already in use

REGISTER.PHP

<div class='row'>
            <div class='col-12'>
              <div class='odgovor'></div>
            </div>
</div>

I want to put message of filling form(successful or unsuccessful) in this class ODGOVOR

REGISTRACIJA.PHP -->this page is used for processing form input

php


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source