MySQL Forums
Forum List  »  PHP

Re: syntax help
Posted by: jjisgoduk
Date: January 03, 2006 12:25PM

Try using this:


$sqlb=mysql_query("SELECT * FROM product WHERE catid='$catid' AND deluxebasic='Basic'") or die(mysql_error());
$sqlb=mysql_query("SELECT * FROM product WHERE catid='$catid' AND deluxebasic='Deluxe'") or die(mysql_error());
$sqlb=mysql_query("SELECT * FROM product WHERE catid='$catid' AND deluxebasic='ALL") or die(mysql_error());
$resultb = $sqlb
$resultd = $sqld
$resulta = $sqla



Edited 2 time(s). Last edit at 01/03/2006 12:30PM by jjisgoduk.

Options: ReplyQuote


Subject
Written By
Posted
January 03, 2006 11:57AM
Re: syntax help
January 03, 2006 12:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.