View Single Post
Old 12-05-2007, 09:53 PM   #12 (permalink)
SOCK
The Acquainted
 
Join Date: Nov 2007
Posts: 154
Thanks: 31
SOCK is on a distinguished road
Default

Quote:
Originally Posted by gcbdm View Post
Can't they also screw up your query by using a comment, '--'? And also perhaps by using:
Code:
a';DROP TABLE users; SELECT * FROM data WHERE name LIKE '%
(taken from Wikipedia)
Not with MySQL via PHP. PHP limits one query per call to mysql_query().
SOCK is offline  
Reply With Quote