I've got this error. I thought it's on misplaced of '
the $_POST
, but if I do that (eg $_POST['regno']
) it will give T_ESCAPED
error.
How I can fix this?
Here is the code of line 33:
$sql = "SELECT * FROM students WHERE RegNo='$_POST[regno]' AND
password='$_POST[password]' AND Status='Enabled'";
I'm using Wamp as my localhost. Thanks!