Andri - 2008-01-22 23:38:12
Ther is a little big but in escapeString()
Change line 307 and 309 from
if (version_compare(phpversion(),"4.3.0", "<")) mysql_escape_string($string);
else mysql_real_escape_string($string);
to
if (version_compare(phpversion(),"4.3.0", "<")) $string = mysql_escape_string($string);
else $string = mysql_real_escape_string($string);
Whiteout change the function has no effect and quotes don't get escaped.
Thx for sharing your nice class.
Nexangel