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. Quote 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' Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.