ON DUPLICATE KEY UPDATE Conditions
View Single Post
03-06-2013, 04:56 PM
Supreme Master coder!
Join Date: Feb 2009
Thanked 4,306 Times in 4,273 Posts
The semicolon on the end of the line is missing.
return "'" . mysql_real_escape_string( $val ) . "'";
I don't use PHP so I tend to make typos like that.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
View Public Profile
Find More Posts by Old Pedant