PHP: There occurres to be a syntax error which say “unexpected double-quote mark” when I am trying to select data from a table using sql. How to fix?
There occurs to be a syntax error which say “Parse error: syntax error, unexpected double-quote mark, expecting “-” or identifier or variable or number” while I am trying to proceed with
$tablequery = "SELECT * FROM purchases WHERE customerID='$_SESSION["custname"]'";