rnb_cassanova Posted January 29, 2008 Share Posted January 29, 2008 Hi Guys, I need to change the status for a record in my database - In this example its from pending to approved or declined. I don't know how to go about this so any help would be greatly appreciated. Thanks Everyone. Link to comment https://forums.phpfreaks.com/topic/88438-changing-status-of-a-record-in-a-db/ Share on other sites More sharing options...
pocobueno1388 Posted January 29, 2008 Share Posted January 29, 2008 Do an UPDATE query. UPDATE table SET status='new status' WHERE recordID='Record ID' Link to comment https://forums.phpfreaks.com/topic/88438-changing-status-of-a-record-in-a-db/#findComment-452608 Share on other sites More sharing options...
rnb_cassanova Posted January 30, 2008 Author Share Posted January 30, 2008 brilliant! ill give that a go in a bit, thanks mate. Link to comment https://forums.phpfreaks.com/topic/88438-changing-status-of-a-record-in-a-db/#findComment-453288 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.