Needing help on auto add jaden after registered
I've tried my best by still failed.
Here is the script after a user registered an account and auto added jaden into the userid, but.. it always insert the "0" under the UserID or ID not the exact UserID expected.
Code:
$date=date("Y-m-d H:i:s");
$Salt = $Login.$Pass;
$Salt = md5($Salt);
$Salt = "0x".$Salt;
MySQL_Query("call adduser('$Login', $Salt, '0', '0', '0', '0', '$Email', '0', '0', '0', '0', '0', '0', '0', '', '', $Salt)") or die ("Can't execute query.");
$sql = "insert into usecashnow(userid, zoneid, sn, aid, point, cash, status, creatime) values ('$Login', '1', '0', '1', '0', '200000', '1', '$date')";
mysql_query($sql);
echo "Account <b>".$Login."</b> has been registered. ";
echo " I've also add 2000 jadens into <b>".$Login."</b> account as a compliment for start, so enjoy! ";
Any help is appreciated, thanks!
Re: Needing help on auto add jaden after registered
Nobody doesn't know how to solve it?
Re: Needing help on auto add jaden after registered
help !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1111111