09-19-2007, 08:49 PM
|
#7 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Posts: 360
Thanks: 24
|
It was due to my queries automatically escaping. How can I avoid this error? :S
I know I can remove the escaping and do it manually but that's not the safest option?
PHP Code:
public function execute($szSQL){ $szSQL = mysql_real_escape_string($szSQL); $szResult = mysql_query($szSQL) or die(mysql_error()); return $szResult; }
|
|
|
|