I have the following code:(php)
$alert = mysqli_query($con,"SELECT * FROM 'user_" . $row['id'] . "_notifications' LIMIT 1");
which gives me this error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''user_2_notifications' LIMIT 1' at line 1
please help me fix this.
'... if you need to quote them, use backticks (`)... Quote characters (') are for string literals