Re: storing php pages with sql queries in a mysql database

2005-07-25 Thread Lamont R. Peterson
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

Re: storing php pages with sql queries in a mysql database

2005-07-25 Thread Eugene Kosov
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 mysq

Re: storing php pages with sql queries in a mysql database

2005-07-23 Thread Ludwig Pummer
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 mysq

storing php pages with sql queries in a mysql database

2005-07-23 Thread Gregory Machin
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 interper