- Original Message -
From: "CDitty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 11:26 AM
Subject: [PHP] MySQL/PHP Associative Array Insert
> A co-worker is teaching me to move to the next level in php. I have
> started using associative arrays for my scri
Saturday, February 01, 2003 1:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] MySQL/PHP Associative Array Insert
>
>
> Yes Chris,
>
> When you add the item to the database, make sure to leave out the single
> quotes inside the brackets of the associative array. For e
Yes Chris,
When you add the item to the database, make sure to leave out the single
quotes inside the brackets of the associative array. For example:
Instead Of:
$item['itemID']
Do This:
$item[itemID]
Example Query:
$query = "SELECT * FROM items WHERE '$item[itemID]';
Hope that helps.
> -
3 matches
Mail list logo