This form has text boxes that are generated with each pass through the loop. To differentiate the text box names, I have used this code:
Code: Select all
<td class=\"clientview\"><div align=\"center\"><input name=\"stock_price".$stock_id."\" type=\"text\" value=\"$stock_price\" size=\"4\" maxlength=\"4\"></div></td>Code: Select all
stock_price11
stock_price2
stock_price43I can't use:
Code: Select all
$stock11 = $_GET['stock_price11'];
$stock43 = $_GET['stock_price43'];Does anyone have any ideas on how to actually find the name of the variables that are coming through (as well as their contents) so I can place them in variables?
I'm guessing, using pseudo code, it would look something like this:
Code: Select all
-look through post data
-find names (somehow :))
-use names to create a $_Get statement and assign variablesI think you get me.
Thanks for this, it's a real stumper and way beyond my current knowledge of form data handling.