PHP variable conversion problem.

2001-09-20 Thread Neil Silvester
Another PHP problem has kept me up all night, scouring through my database books and trying everything I could think of. I am still new to the MySQL and PHP field, but never the lass I will not give up. $cat is a variable that is passed to the query from the previous page. The SELECT statement

PHP variable conversion problem.

2001-09-20 Thread Neil Silvester
Another PHP problem has kept me up all night, scouring through my database books and trying everything I could think of. I am still new to the MySQL and PHP field, but never the lass I will not give up. $cat is a variable that is passed to the query from the previous page. The SELECT statement

PHP variable conversion problem.

2001-09-20 Thread Neil Silvester
Another PHP problem has kept me up all night, scouring through my database books and trying everything I could think of. I am still new to the MySQL and PHP field, but never the lass I will not give up. $cat is a variable that is passed to the query from the previous page. The SELECT statement

Re: PHP variable conversion problem.

2001-09-20 Thread Colin Faber
This really isn't a MySQL question and should be handled by another list, But to answer your question (logically). You need to have the whole string `productcategory.ID=\$cat\' optional, so that if your variable `$cat' isn't populated the string `productcategory.ID=\$cat\' isn't included, Also

Re: PHP variable conversion problem.

2001-09-20 Thread Jason G.
Neil, Please indicate what you mean by converting the string x to a percent value??? -Jason Garber www.deltacron.com At 08:51 AM 9/21/2001 +1000, Neil Silvester wrote: Another PHP problem has kept me up all night, scouring through my database books and trying everything I could think of. I