may help you . You're calling $db->query() when you should be calling $db->prepare()
Ok, can you spot a syntax error here?
By : user2488191
Date : March 29 2020, 07:55 AM
SQL syntax issue (Same piece of code, giving me an error! I do not understand.)