12-19-2007, 02:45 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: Oct 2007
Posts: 44
Thanks: 0
|
how to $_POST this?
if i have a code like this:
PHP Code:
for($i=0;$i<3;$i++){
echo '<input type="submit" name="submit'.$i.'" value='.$i.'>';
}
if (isset($_POST["submit$i"])){<--------this is not correct.
do the following
}
how would i post for name that is incremented?
|
|
|
|