MySQL Forums
Forum List  »  PHP

syntax help
Posted by: Chris Lephart
Date: January 03, 2006 11:57AM

Im having an error with this syntax can anyone help?

$sqlb="select * from product where catid=$catid and deluxebasic='Basic'";
$sqld="select * from product where catid=$catid and deluxebasic='Deluxe'";
$sqla="select * from product where catid=$catid and deluxebasic='All'";
$resultb = mysql_query($sqlb) or die(mysql_error());
$resultd = mysql_query($sqld) or die(mysql_error());
$resulta = mysql_query($sqla) or die(mysql_error());

Options: ReplyQuote


Subject
Written By
Posted
syntax help
January 03, 2006 11:57AM
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.