Submit - Retreive

From: Date: Thu, 07 Sep 2000 12:42:09 +0000
Subject: Submit - Retreive
Groups: php.db 
Request: Send a blank email to php-db+get-2687@lists.php.net to get a copy of this message
I have a small problem with getting something to work with PHP/MYSQL Here is the situation: I have a page that is dynamically generated by a php/mysql call. The page is filled with select boxes, each named dynamically as well. What I am now needing to do is to submit the selected values of these fields onto another page (easily done witha form) However, the following page needs to do a mysql query based on the information submitted to it by the previous page (collect a value (price) via a product number), do some calculations and then display the contents of the select boxes and the results of the calculation. While I can do the calculation stuff via php, and the displaying of the contents. What I can't seem to get my head around is how am I going to script the php calc/query etc based on the fact that the information coming from the previous page could be different each time it is submitted. ie, the names of the select fields will change. Not every one of the fields would be filled out on every occasion. Can anyone help me out here?? kind regards, - Shannon

« previous php.db (#2687) next »