Solid Snake Posted April 9, 2007 Share Posted April 9, 2007 i got it from seanybobs post before and i have been trying to fix it the reason why i was trying to fix it was because you could get the gift more than once and i dont know how to make it so that you can only get it once You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
hamster01 Posted April 9, 2007 Share Posted April 9, 2007 Re: Gift.php i got it from seanybobs post before and i have been trying to fix it the reason why i was trying to fix it was because you could get the gift more than once and i dont know how to make it so that you can only get it once You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. yo n00b... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats why you could get it more than once.. Thats why you should always validate your data! THe query does not exist thugs the value is 0! Probperbly gives an mysql error to eh? Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted April 9, 2007 Author Share Posted April 9, 2007 Re: Gift.php i got it from seanybobs post before and i have been trying to fix it the reason why i was trying to fix it was because you could get the gift more than once and i dont know how to make it so that you can only get it once You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. yo n00b... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats why you could get it more than once.. Thats why you should always validate your data! THe query does not exist thugs the value is 0! Probperbly gives an mysql error to eh? stfu i dont remember recalling that little function if there was i prolly did pick it up but recently i changed my SQLs and no there aint and look your another one who thinks EVERYONES a n00b Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted April 9, 2007 Author Share Posted April 9, 2007 Re: Gift.php and your ALTER TABLE users ADD thinks you done completely wrong 1) its not thinks its thanks 2)you forgot to put the rest "ALTER TABLE users ADD thanks date" or summit like that Quote Link to comment Share on other sites More sharing options...
hamster01 Posted April 9, 2007 Share Posted April 9, 2007 Re: Gift.php my query is fine :-P I just made a spelling mistake :\ Quote Link to comment Share on other sites More sharing options...
Solid Snake Posted April 9, 2007 Author Share Posted April 9, 2007 Re: Gift.php my query is fine :-P I just made a spelling mistake :\ well when i try to put it into my database it comes with a error and im doing thanks not thinks Quote Link to comment Share on other sites More sharing options...
hamster01 Posted April 9, 2007 Share Posted April 9, 2007 Re: Gift.php duh... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
oxidati0n Posted April 11, 2007 Share Posted April 11, 2007 Re: Gift.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ALTER TABLE `users` ADD `thanks` INT( 11 ) NOT NULL DEFAULT 0; A fine code by you! :P lol Quote Link to comment Share on other sites More sharing options...
hamster01 Posted April 11, 2007 Share Posted April 11, 2007 Re: Gift.php :) Quote Link to comment Share on other sites More sharing options...
oxidati0n Posted April 11, 2007 Share Posted April 11, 2007 Re: Gift.php :) What a speech. :> Quote Link to comment Share on other sites More sharing options...
tittlemouse Posted April 11, 2007 Share Posted April 11, 2007 Re: Gift.php :) What a speech. :> lol Quote Link to comment Share on other sites More sharing options...
hamster01 Posted April 11, 2007 Share Posted April 11, 2007 Re: Gift.php Hmm... I must have forgotten what i wanted to say :P Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted July 17, 2007 Share Posted July 17, 2007 Re: Gift.php duh... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. As far as I'm aware you don't actually need the ` around the words. It just adds it, as long as the case is right. DB's are case sensitive! ;) Quote Link to comment Share on other sites More sharing options...
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.