depojones Posted May 28, 2010 Share Posted May 28, 2010 Am here again, Is it possible to click on a link and update a record? for instance, I have a link like this: <a href="updaterecord.php?id=9">Update </a> can I just update the value 9 by clicking on the link without the page refreshing in PHP or Ajax maybe? Link to comment https://forums.phpfreaks.com/topic/203217-update-record-from-link/ Share on other sites More sharing options...
ChemicalBliss Posted May 28, 2010 Share Posted May 28, 2010 It's possible to send data to a php script without refreshing a clients page completely. Using AJAX as you stated in your post would be a method of sending a HTTP Request to the Server and waiting for a Response, Much like the browser does itself for each page. I would reccommend googling AJAX Tutorials as there are plently out there and it's quite simple. -cb- Link to comment https://forums.phpfreaks.com/topic/203217-update-record-from-link/#findComment-1064752 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.