Mr. Confused
New member
OK, I had this problem before and I have managed to do it and now I forgot it again. Basically I have a page called "access_level.php" and "access_level_update.php".
In access_level I have a drop down menu that sees the entries from a mysql database. This part is fine, I can see all the entries from the database.
The question is, How can I pass the value of "user_id" from the drop down menu onto the page "access_level_update".
the code from "access_level.php" is:
<form action="access_level_update.php?user_id=<?php echo $row_rs_users['user_id']; ?>" method="post" name="form1" id="form1">
I know the problem is in the form action, $row_rs_users['user_id'] is the ID of the logged in user, so instead of this I need it to select the id of the chosen user from the drop down list.
Please help/
In access_level I have a drop down menu that sees the entries from a mysql database. This part is fine, I can see all the entries from the database.
The question is, How can I pass the value of "user_id" from the drop down menu onto the page "access_level_update".
the code from "access_level.php" is:
<form action="access_level_update.php?user_id=<?php echo $row_rs_users['user_id']; ?>" method="post" name="form1" id="form1">
I know the problem is in the form action, $row_rs_users['user_id'] is the ID of the logged in user, so instead of this I need it to select the id of the chosen user from the drop down list.
Please help/