EvanMartin Posted October 7, 2006 Share Posted October 7, 2006 Ok i'm helping out with a website provideing free webhosting...Ive created a application from that submits the details into a mysql database then displays them on our managment page so we can enter the details into our cpannle and activate there account.http://www.reaction.net.nz/application/app.phphttp://www.reaction.net.nz/application/management/index.phpIm haveing troble with the activate bit. I have a form on the top at the top of the managment page that u enter the id. Then i want that to find the line that has the id specfiyed then change the account to "active". Can someone write the script to do that...Thanks again Evan(Note that i will be passwording the managent page when it works) Link to comment https://forums.phpfreaks.com/topic/23242-activate-account-manager-script/ Share on other sites More sharing options...
EvanMartin Posted October 7, 2006 Author Share Posted October 7, 2006 I worked it out myself $query = "UPDATE apps SET ative = 'active' WHERE id = '$id'"; mysql_query($query); Link to comment https://forums.phpfreaks.com/topic/23242-activate-account-manager-script/#findComment-105426 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.