I am getting inconsistent result from a query that has results with a single quote or an apostrophe in the data. Some times the results show escape characters, and sometimes it doesn’t. Any idea of what could cause such a thing? :
The mysql_escape_string() appears to work well. The server i am on has some mixed up magic_quotes settings that mess with the functionality of addslashes and stripslashes. 8O They only work when they 'want\' to on that server.