|
ok so looking at it more and using this code
while( $row = mysql_fetch_array($result_unconfirmed) ) {
echo($row['username'] . " " . $row['username2'] . "<br />");
}
?>
<form method="get" action="<?php $_SERVER['PHP_SELF']?>">
<input type="submit" name="<?php echo($formUser);?>" value="confirm" />
<input type="submit" name="<?php echo($formUser);?>" value="noconfirm" />
</form>
<?php
}
The problem is finding out which user they selected. So is there anyway through GET or POST that I can find out the name (which would be the user they selected). I need to do this so the script can use the user they selected. I know you have to do $_GET['NameOftheInputType'] to get the value, but how can I use the name of the input type with my script if I don't know which one was sent?
Last edited by drewtown; 12-13-2006 at 04:01 PM..
Reason: clarity
|