|
Posted by -Lost on 06/08/06 08:15
What version of PHP?
Have you created a successful connection to your MySQL server? If so:
$_conn = mysql_connect('host', 'user', 'pass');
$string = 'In "the" middle.';
$_db_string = mysql_real_escape_string($string, $_conn);
// $_conn is not necessary if a valid connection exists
print $_db_string;
mysql_close($_conn);
// $_conn is not necessary if a valid connection exists
....should work.
What is your docref_root, as I have never seen a warning function reference say ".chm"?
-Lost
Navigation:
[Reply to this message]
|