Gregory Machin wrote:
Hi all.
I'm writing a php script to store the contents of html and php pages
in a data base, it works well until there are mysql queries in the
pages source then give errors such as this one.

Query failed: You have an error in your SQL syntax near 'temp'
how do stop mysql from trying to interperate this data and blindly store it ??

Many Thanks

Perhaps mysql_real_escape_string() could help you..

http://ru3.php.net/manual/en/function.mysql-real-escape-string.php

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to