here is my code can someone help me
===========================================================
index.php
<form method=\"post\" action=\"form.php\">
How many book ? <input type=text value=howmany>
<input type=submit name=action value=go>
===========================================================
form.php
<?
if ($POST['action']=="go") {
$howmany = $post['howmany'];
<form method=\"post\" action=\"form.php\">
$counter = 1;
while ($counter <= $howmany) {
echo " Book : <input type=text name=address-$counter>
<input type=submit name=action value=go2> ";
$counter++;
}
}
if ($POST['action']=="go2") {
$howmany = $post['howmany'];
$counter=1;
while ($counter <= $howmany) {
// here i want to load that POST address-1,2,3... (from ACTION=="go")
// and then assign variable to each address-1,2,3,...
$counter++;
{
}
?>
This is my problem today, and still cannot figure it out how to do it.
lots of ppl in this forum have been nice and helping me but I still can't figure it out.