comrade Posted May 14, 2010 Share Posted May 14, 2010 Hello, My problem is i have a database (mySQL) which i store just simple information. It looks like this; id fullname sex view edit delete 1 Brendan m View Edit Delete 2 Batman m View Edit Delete 3 Spider man m View Edit Delete 4 Wonder man f View Edit Delete 5 NULL m View Edit Delete 6 terry m View Edit Delete 20 View Edit Delete New I add the new records i obtain from the "New" link on the bottom. And use a loop to add them along with the "view" "edit" and "delete" links. NOW my problem is. If I click "delete" on say ID # 1 , how do I determine which entry it is to delete it, what I'm asking is if all the "delete" links go to same URL example.com/delete_item.php how do i know its ID 1 and not something else. Then is i chose "edit" how do i load a form with that ID #'s info. Thanks for any help, ps i am new to php and mySQL Regrads Link to comment https://forums.phpfreaks.com/topic/201759-need-help-with-links-and-filling-a-form/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.