nimonogi Posted December 4, 2013 Share Posted December 4, 2013 Hello, I want a hook to change Client's status to Inactive if he register from register.php?aainactive=yes function new_client($vars) { $aauserid = $vars['userid']; if($_GET['aainactive'] == "yes") { $result = full_query("UPDATE tblclients SET status='Inactive' WHERE id='".$aauserid."'"); } } add_hook("ClientAdd",99,"new_client"); Can you please help. 0 Quote Link to comment 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.