Jump to content


Photo

Activate Account Manager Script


  • Please log in to reply
1 reply to this topic

#1 EvanMartin

EvanMartin
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 07 October 2006 - 02:18 AM

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....ication/app.php
http://www.reaction....ement/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)

#2 EvanMartin

EvanMartin
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 07 October 2006 - 08:33 AM

I worked it out myself

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users