Your original code snippet had some errors. It really couldn't have
been what you wanted to do.
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