Re: [PHP-DB] help with a parse error

2001-03-28 Thread Timothy Aslat
Petra wrote: I just subsribed to this list with the hope you can help me. We can try snip echo("P Here are all the products in our database: /P:); add a " before the ; here // Request the text of all the products $result = mysql_query( "select * from products");

Re: [PHP-DB] help with a parse error

2001-03-28 Thread Doug Semig
You didn't mention if the parse error was coming from PHP or from MySQL. The PHP syntax looks okay to me at first glance (that is, a quick look through indicates that there appears to be appropriate numbers of semicolons and closing braces). So perhaps the thing issuing the parse error is MySQL?

Re: [PHP-DB] help with a parse error

2001-03-28 Thread Doug Semig
Gee...all I looked at were the semicolons and the braces (those are what I mess up on the most). I guess it's a good thing I mentioned the space in the endif! It turns out that if you use that syntax, you cannot have a space there. Doug At 01:19 PM 3/29/01 +0930, Timothy Aslat wrote: Petra