hi all,
i am having a user table in which userid and username are present. i had a delete button also. so wen i click on the delete button that person details only should get delete. so all i had done. I can delete the information using 'userid'. how can i pass that userid value to the next page.
Thank u.
niths -1 Posting Whiz in Training
Recommended Answers
Jump to PostCan I suggest that you include a confirmation paramater that contains a hash so that only official deletes can occur. In addition, how about a javascript confirm popup that sits between the link and the page with the delete script?
<a href="deleteuser.php?id=3&conf=hsyY62j98HH....">Delete user</a>
The conf parameter is …
Jump to PostYou designed the page with form r8!
<form name='frmdetails' action='delete.php' method='post'> ........ <input type='submit' value='delete' name='deluser'/> </form>
I hope you are going to pass the value to the next page(delete.php)
Just get the value from there with post
$uid = $_POST['userid']; echo $uid
All 5 Replies
vibhaJ 126 Master Poster
niths -1 Posting Whiz in Training
vibhaJ 126 Master Poster

diafol

rajarajan2017
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.