RE: [PHP] Agh! Driving me crazy!

From: Date: Wed, 18 Jun 2003 19:05:11 +0000
Subject: RE: [PHP] Agh! Driving me crazy!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152047@lists.php.net to get a copy of this message
You are missing the closing ) around the values you are inserting. > Anyone see anything wrong with this line of code? > > $fine = mysql_query("INSERT INTO > tblPOItems(poID,poItemUPC,poItemNumber,poItemDescription,poItemInn > erCasePkg, > poInnerQuantity,poItemEstQuantity,poItemCostEach,poItemSuggestedSellPrice) > values('$poID', '$place[0]', '$inmb', '$ides', > '$iicp', '$cases', > '$place[1]', '$iice', '$isgs'"); > > I keep getting: > > Query failed: You have an error in your SQL syntax near '' at line 1 Query > was: 1064 exiting. >

« previous php.general (#152047) next »