12-05-2007, 01:24 PM
|
#5 (permalink)
|
|
The Addict
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
|
When dealing with MySQL queries using mysql_real_escape_string is better as it protects you from more then just ' but also the following:
PHP Code:
\x00
\n
\r
'
"
\x1a
|
|
|