Hi there ,
<form name="Setup" action = "Settings.php" METHOD="Post">
<select name="User" size="1">
<option value = "User1">user 1</option>
<option value = "User2">user 2</option>
</select>
<INPUT TYPE="Submit" VALUE="Update Current Modules">
<INPUT TYPE="Submit" VALUE="Add Module">
</form>
Is it possible to see in the Settings.php whose Submit I have clicked?
The code below is not working.
<form name="Setup" action = "Settings.php" METHOD="Post">
<select name="User" size="1">
<option value = "User1">user 1</option>
<option value = "User2">user 2</option>
</select>
<INPUT TYPE="Submit" VALUE="Update Current Modules">
</form>
<form name="Add" action = "Addmodule.php" METHOD="Post">
<INPUT TYPE="Hidden" VALUE="<?php echo $Users; ?>">
<INPUT TYPE="Submit" VALUE="Update Current Modules">
</form>
What I wanted to do is selecting a user and have a choice to do two things :
adding or updating but in both cases I needed to know the user that is selected.
Can some-one help me out please ?
THX
Gerry