RE: [PHP] Agh! Driving me crazy!
| From: | Mike At Spy | Date: | Wed, 18 Jun 2003 20:15:31 +0000 |
| Subject: | RE: [PHP] Agh! Driving me crazy! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152056@lists.php.net to get a copy of this message | ||
Gah!!!
:)
Thanks!
Thanks to all! :)
-Mike
> -----Original Message-----
> From: Jennifer Goodie [mailto:goodie@apollointeractive.com]
> Sent: Wednesday, June 18, 2003 3:05 PM
> To: Mike At Spy; php-general@lists.php.net
> Subject: RE: [PHP] Agh! Driving me crazy!
>
>
> 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.
> >
>
>