Thread: My code Problem
View Single Post
  #10  
Old 21st October 2008, 10:17
djlee's Avatar
djlee djlee is offline
Senior Member
 
Join Date: Mar 2008
Posts: 183
Default
wheres the query that does it all

something like
Code:
@mysql_query("UPDATE users SET seedbonus = seedbonus + $money WHERE id=$receiver");
@mysql_query("UPDATE users SET seedbonus = seedbonus - $money WHERE id=".$CURUSER['id']);
After that you can remove the two lines in the else statement (the queries are off the top of my head you may need to correct them if they dont work)
Reply With Quote
The Following User Says Thank You to djlee For This Useful Post:
al_ltoticmat (21st October 2008)