View Single Post
Old 12-19-2007, 02:45 PM   #1 (permalink)
meshi
The Contributor
Upcoming Programmer 
 
meshi's Avatar
 
Join Date: Oct 2007
Posts: 44
Thanks: 0
meshi is on a distinguished road
Default 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?
meshi is offline  
Reply With Quote