Hi, I am trying to write JavaScript error message code in PHP file, but I get error messages and I followed the instruction but I can make it work. Does anyone know how to write Javascript in PHP file?
This is the code…
<?php include_once 'header.php'; ?> <?php echo ""; ?>and this is the error message…
Parse error: syntax error, unexpected '"){ ’ (T_CONSTANT_ENCAPSED_STRING), expecting ‘,’ or ‘;’ in C:\wamp64\www\registration-form.php on line 13
Thank you!