Re: Foreach and mydql_query problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your original code snippet had some errors. It really couldn't have been what you wanted to do.

Example:

You have a named field of 'number_of_items' and then you try to retreive $_POST['number_of_itemsi']. That won't work.

Then you have a var called $number_of_items which we don't see defined, and you are assigning each to $itemi but then you use $item in your query. Very Confusing!!

Perhaps if you clean up the errors you might see better results.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux