Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

register with add jaden problem..

Status
Not open for further replies.
Newbie Spellweaver
Joined
Nov 26, 2009
Messages
25
Reaction score
2
I have been tried many time to add in cubis@jaden in register page, all data has been insert into table cashnow but it wont insert to cashlog. If I use manual add jaden script, all data perfectly added into cahslog table.
I also has been use all register and add jade@cubis page, but all failed to add into cashlog, it stuck in cashnow only.
the code i use:
1) INSERT INTO usecashnow (userid, zoneid, sn, aid, point, cash, status, creatime) VALUES ('$ID', '0', '$Sn', '0', '1', '$valcubisvx', '1', NOW())"))
2)MySQL_Query("call usecash ( '$id' , 1, 0, 1, 0, '$amount', 1, @error)");

this one is my manual script

$sql = "insert into usecashnow(userid, zoneid, sn, aid, point, cash, status, creatime) values ('$name', '1', '0', '1', '0', '$jaden', '1', '$date')";
 
I have been tried many time to add in cubis@jaden in register page, all data has been insert into table cashnow but it wont insert to cashlog. If I use manual add jaden script, all data perfectly added into cahslog table.
I also has been use all register and add jade@cubis page, but all failed to add into cashlog, it stuck in cashnow only.
the code i use:
1) INSERT INTO usecashnow (userid, zoneid, sn, aid, point, cash, status, creatime) VALUES ('$ID', '0', '$Sn', '0', '1', '$valcubisvx', '1', NOW())"))
2)MySQL_Query("call usecash ( '$id' , 1, 0, 1, 0, '$amount', 1, @error)");

this one is my manual script

$sql = "insert into usecashnow(userid, zoneid, sn, aid, point, cash, status, creatime) values ('$name', '1', '0', '1', '0', '$jaden', '1', '$date')";

You show using NOW()??? But you need to use $date not NOW()
 
Status
Not open for further replies.
Back