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 PostYou can give userid on delete button's href.
e.g. <a href="user.php?act=delete&userid=<?=$result?>">delete</a>
Jump to Postsame way buttons onclick event using js.
<input name="Delete" value="Delete" type="button" onclick="window.location.href='user.php?act=delete&userid=<?=$result?>'" />
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.