I'm using a pre-made template in HTML with Bootstrap and jQuery. It's one of those sites where only index.php
is available, and you navigate to the different sections of the index.php
by some interactive navigation buttons.
In the verification I'm doing a query if in the database ther is a "verification required" field filled with a 'Y', if yes, I'm setting the $msg
to
<?php if(isset($msg)) { echo $msg } ?>
I tried to do
<?php if(isset($msg)) { echo '<script type=text/javascript>'.$msg.'</script>' } ?>
and set $msg
to the script name, it sadly isn't working though, and I really don't know how to correct it!