Thread: Stumped
View Single Post
  #7  
Old 12-01-2009, 02:03 AM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 12,526
exdiogene
Default RE: Stumped

Quote:
Originally Posted by Fireballchad
Quote:
Originally Posted by tommyk1210
above it just put
PHP Code:
$bonus 1
I was attempting to ad a feature where you buy and item and it gives you an extra click bonus... I had $bonus become the correct number while querying it from the data base, but it broke the clicks for some reason. When someone clicks it said you did it and logs it but it does not give you the clicks it gives you 0.
It would be easier to just put $bonus = 1 if that is what it always is. This puts less strain on the sevrer and increases the speed of the script if it doesnt need to query the database. Have you tried it without using the database?
Reply With Quote