View Single Post
  #6  
Old 02-27-2011, 12:11 PM
Sensacionsk8 Sensacionsk8 is offline
Member
 
Join Date: Feb 2011
Posts: 18
Gender: Male
Credits: 2,107
Sensacionsk8 is on a distinguished road
Default

thanks, but Not exactly, what I want is this:
PHP Code:
 $newclicks $totalclicks 1// Add 1 click to the current click total of this adoptable...
 
$newdollars $dollar 10//make it work
 // Actually insert our click information into the database...
 
$query "UPDATE ".$prefix."owned_adoptables SET totalclicks='".$newclicks."' WHERE aid='".$id."'";
 
mysql_query($query);
 
 
$query "UPDATE ".$prefix."users SET dollar='".$newdollars."' WHERE uid='".$uid."'";
 
mysql_query($query); 
I need this:

Last edited by Sensacionsk8; 02-27-2011 at 12:13 PM.
Reply With Quote