Haunted Dawg Posted June 17, 2009 Posted June 17, 2009 Re: Mccodes Lite Userstats IQ Bug Change... elseif ($search =="14") { print "You see a pretty rainbow. You spot a leprechaun. You take him hostage and ransom some gold from his leprechaun pals. They bring you the money. You feel a little smarter."; mysql_query("UPDATE users SET IQ=IQ+$IQ,money=money+$money,money=money+$money2,energy=energy-$eng WHERE userid=$userid"); mysql_query("UPDATE userstats SET IQ=IQ+$IQ WHERE userid=$userid"); } To elseif ($search =="14") { print "You see a pretty rainbow. You spot a leprechaun. You take him hostage and ransom some gold from his leprechaun pals. They bring you the money. You feel a little smarter."; mysql_query("UPDATE users SET money=money+$money,money=money+$money2,energy=energy-$eng WHERE userid=$userid"); mysql_query("UPDATE userstats SET IQ=IQ+$IQ WHERE userid=$userid"); } Quote
Lithium Posted June 17, 2009 Posted June 17, 2009 Re: Mccodes Lite Userstats IQ Bug hmmm damn! no one saw it lol good catch codestryke Quote
Agon Posted June 17, 2009 Author Posted June 17, 2009 Re: Mccodes Lite Userstats IQ Bug Hahaha! Good eye! I feel silly now. But no big deal. It's usually something simple that rattles the brain like that. Thanks for the help guys. And special thanks for the tips and tricks to clean up my coding. Much appreciation. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.