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 scripts

[PHP] MySQL/PHP Associative Array Insert

2003-02-01 Thread CDitty
A co-worker is teaching me to move to the next level in php. I have started using associative arrays for my scripts, but I am having a problem using them to do an insert into MySQL. Can someone give me an example of how to do an insert to the database using these arrays? My array is

RE: [PHP] MySQL/PHP Associative Array Insert

2003-02-01 Thread @ Nilaab
. -Original Message- From: CDitty [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 01, 2003 10:26 AM To: [EMAIL PROTECTED] 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 scripts

RE: [PHP] MySQL/PHP Associative Array Insert

2003-02-01 Thread @ Nilaab
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 example: Instead Of: $item['itemID'] Do This: $item[itemID