Great, thank you, its a progress..
PHP Code:
$amo1 = $_POST['amount' . $row2['id']];
$_POST is genereted and is getting and displaying values from the form correctly.
But there is one more think:
From what i can understand whats happening now is
PHP Code:
$amo1 = $_POST['amount' . $row2['id']]; //-- 1 - id value so $amo1 = amount1
$amo1 = $_POST['amount' . $row2['id']]; //-- 2 -than $amo1 = amount2
$amo1 = $_POST['amount' . $row2['id']]; //-- 5 -than $amo1 = amount5
Let say there is 50 id's, what i want to achive is to generate variables according to id value:
Example:
PHP Code:
$amo1 = $_POST['amount' . $row2['id']]; //-- 1 - id value so $amo1 = amount1
$amo2 = $_POST['amount' . $row2['id']]; //-- 2- than $amo2 = amount2
$amo5 = $_POST['amount' . $row2['id']]; //-- 5 - than $amo5 = amount5
How to generete variables $amo1, $amo2, $amo5 and ... more .... can that be done?
Thank you
Bookmarks