On Saturday 23 July 2005 09:05am, 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 > ??
Another solution would be to base64 encode the data before storing it in the database. -- Lamont R. Peterson <[EMAIL PROTECTED]> Founder [ http://blog.openbrainstem.net/peregrine/ ] OpenBrainstem - Intelligent Open Source Software Engineering
pgpgxxCSkArq0.pgp
Description: PGP signature