I'm trying to pass some variables from a "php_self" type form.
(The form exists within a .<TD>. generated dynamically with a 'for-loop')
So, far I'm trying the HIDDEN input type in order to pass the variables
once the form reloads.
So far, form returns with empty fields 🙁
The second thing I have to do is add the values on the "amount" fields add the values dynamically (within the loop for every iteration).
<form action="<? echo $PHP_SELF; ?>" method="GET"">
<?php
for ($i = 1; $i < 3; $i++)
{
// short SOURCE CELL VARIABLES
$source_name = 'source'."$i";
$source_value = $_GET['$source_value'];
$amount_name = 'amount'."$i";
$amount_value = $_GET['$amount_value'];
print'<tr>';
print"<td>";
print "<input type='hidden' name='source_value' value='$source_value'>";
print " </td>";
print"<td>";
print "<input type='hidden' name='amount_value' value='$amount_value'>";
print"</td>";
print'</tr>';