echo "<input value='$variable' type='submit' id=submit' name='submit'>";
That variable is an array which keeps repeating and changing numbers. (e.g. 1-20).
Now using a switch statement to access the input submit button when pressed:
switch($_POST[submit]) {
case '':
break;
}
I cant figure out what code to construct and use to check if one of the numbers has been selected (apart from the obvious 1-20 which is not an option).
Any Ideas?
Thanks, Regards X