Jump to content

Archived

This topic is now archived and is closed to further replies.

EvanMartin

Activate Account Manager Script

Recommended Posts

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.php
http://www.reaction.net.nz/application/management/index.php

Im 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)

Share this post


Link to post
Share on other sites
I worked it out myself

$query = "UPDATE apps SET ative = 'active' WHERE id = '$id'";
mysql_query($query);

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.