I have a query:
I want to get everything where the uid is equal to the session variable and the class is equal to the class var in the url... I have no idea whats wrong.
PHP Code:
$sql = "SELECT * FROM notes WHERE uid='$_SESSION[uid]', class='$_GET[class]' ORDER BY time ASC LIMIT 10";
Comment