Hello everyone, i just saw the same thread below but was not able to get from it.
Well the problem is in the userlist page i have a list of users on the database which i get from simple sql queries. On the same page on the side of each User i have delete link. Also inside the while Loop that runs sql and prints User Names i have some variable say $userid = $row ["userid"] . But I am not sure how i am going to transfer this $userid to other page when Delete Url is clicked.
THe current Url for Delete link is [PHP] href='adminlogi n.php?mode=user _delete [/PHP]
and i am using in my main adminlogin.php page if then statement. so i have [PHP]
if ($_GET['mode'] == "user_delet e")
{
include "user_delete.ph p";
}
[/PHP]
So now how can i pass the value of userid when the Delete Url is clicked.
Any thoughts. or any idea would be highly appriciated
Well the problem is in the userlist page i have a list of users on the database which i get from simple sql queries. On the same page on the side of each User i have delete link. Also inside the while Loop that runs sql and prints User Names i have some variable say $userid = $row ["userid"] . But I am not sure how i am going to transfer this $userid to other page when Delete Url is clicked.
THe current Url for Delete link is [PHP] href='adminlogi n.php?mode=user _delete [/PHP]
and i am using in my main adminlogin.php page if then statement. so i have [PHP]
if ($_GET['mode'] == "user_delet e")
{
include "user_delete.ph p";
}
[/PHP]
So now how can i pass the value of userid when the Delete Url is clicked.
Any thoughts. or any idea would be highly appriciated
Comment