Apostrophe in form causing Error Number: 1064 |
[eluser]Craig A Rodway[/eluser]
You have a couple of options - have a look here. I'd recommend the Query Bindings option, so your query would be: Code: $sql = "INSERT INTO participants (id,YourName,email,comments) VALUES (NULL, ?, ?, ?)"; |
Messages In This Thread |
Apostrophe in form causing Error Number: 1064 - by El Forum - 01-05-2008, 03:07 PM
Apostrophe in form causing Error Number: 1064 - by El Forum - 01-05-2008, 03:16 PM
Apostrophe in form causing Error Number: 1064 - by El Forum - 01-05-2008, 03:34 PM
|