Here is my query: $sql = \'SELECT fname, lname, FROM users where email = $_SESSION["email"]\'; I am getting error while executing this query in php
$sql = \'SELECT fname, lname, FROM users where email = $_SESSION["email"]\';