Re: [PHP] MySQL/PHP Associative Array Insert

2003-02-02 Thread Matt
- 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

RE: [PHP] MySQL/PHP Associative Array Insert

2003-02-01 Thread @ Nilaab
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

RE: [PHP] MySQL/PHP Associative Array Insert

2003-02-01 Thread @ Nilaab
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. > -