user982019 Posted June 26, 2013 Share Posted June 26, 2013 Hello guys, Can anyone tell me how to do this: Sno. Name Age Roll No. Batch Contact Option ------ --------- ------ --------- -------- --------- --------- 1. ABC 20 12321 EE 989821 Edit | Delete 2. DEF 22 31232 VD 828282 Edit | Delete 3. ............. 4. ............. So here is the table structure, I want to do that receive data from database and view in web form. That is done. Rest, now i need to add an Edit and Delete option for user to update the record but dynamically without page refresh i guess with AJAX. Can anyone tell me how to achieve that, I am waiting for a reply please help or just guide me up with a url.. Quote Link to comment https://forums.phpfreaks.com/topic/279585-adding-edit-option-and-performing-dynamically-task/ Share on other sites More sharing options...
DaveyK Posted June 26, 2013 Share Posted June 26, 2013 What have you tried so far? We are not here to do your stuff for you. Use Google. Quote Link to comment https://forums.phpfreaks.com/topic/279585-adding-edit-option-and-performing-dynamically-task/#findComment-1437920 Share on other sites More sharing options...
ginerjm Posted June 26, 2013 Share Posted June 26, 2013 There are several good examples on how to setup an xmlhttprequest in your js code to call a php script behind the scenes and do what you want to do. Google it. Quote Link to comment https://forums.phpfreaks.com/topic/279585-adding-edit-option-and-performing-dynamically-task/#findComment-1437960 Share on other sites More sharing options...
user982019 Posted June 26, 2013 Author Share Posted June 26, 2013 There are several good examples on how to setup an xmlhttprequest in your js code to call a php script behind the scenes and do what you want to do. Google it. Thanks for your help.. i got my solution ! Quote Link to comment https://forums.phpfreaks.com/topic/279585-adding-edit-option-and-performing-dynamically-task/#findComment-1438029 Share on other sites More sharing options...
user982019 Posted June 26, 2013 Author Share Posted June 26, 2013 What have you tried so far? We are not here to do your stuff for you. Use Google. Learn from another user reply how to help.. ! Don't just increase your post count posting rubbish stuffs.. :\ Quote Link to comment https://forums.phpfreaks.com/topic/279585-adding-edit-option-and-performing-dynamically-task/#findComment-1438030 Share on other sites More sharing options...
ginerjm Posted June 26, 2013 Share Posted June 26, 2013 HTH! Be sure to mark this topic closed. Quote Link to comment https://forums.phpfreaks.com/topic/279585-adding-edit-option-and-performing-dynamically-task/#findComment-1438031 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.