RE: [PHP] PHP and MySQL

From: Date: Thu, 16 May 2002 12:29:13 +0000
Subject: RE: [PHP] PHP and MySQL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97899@lists.php.net to get a copy of this message
Missed a spot =) > if( $booktitle AND "quantity" ){ I'm not certain if this if statement is accurate. I've never used a statement like this but from the looks of it the AND "quantity" part would always be true (assuming it parses it). This could be adding to your problem as well. I think you were aiming for something like if ($booktitle AND $quantity) { or how I do it (although it looks a bit messier) if (($booktitle) && ($quantity)) { Sincerely, Craig Vincent

« previous php.general (#97899) next »