Re: Array trouble
| From: | Jason Wong | Date: | Fri, 24 Jan 2003 10:04:54 +0000 |
| Subject: | Re: Array trouble | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25099@lists.php.net to get a copy of this message | ||
On Friday 24 January 2003 14:18, Tyler Whitesides wrote:
> I have been having a lot of trouble getting an array into the MySQL table
> like I want it. This is supposed to take the current maintenance tasks
> from a table in the database on apple.php each of these is given a name
> $item[autoNo] where autoNo is the auto_increment id that task is associated
> with. This is passed to data.php where it is supposed to make a row in the
> maintenanceditems table, then in a loop directly below that it is supposed
> to run the array and place each array value into its associated column in
> the database. Considering all of the columns exist, I think the problem
> just has to do with how I am pulling the array values out and placing them
> into their column. Any help would be appreciated. Thanks in advance,
Please post your code and DB schema.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Don't worry if you're a kleptomaniac; you can always take something for it.
*/