InuTora333 Posted June 25, 2009 Posted June 25, 2009 'Kay.. I am a total newbie at PHP and stuff... I was wondering, for my game I would like to add in gender and a race. I have it set up in register.php, though, where else would I put it so that it would take affect? Note: When I make it.. It says it is made, but the character does not go into the user database. =/ Quote
Danny696 Posted June 25, 2009 Posted June 25, 2009 Re: Registery u needa add it to the db and btw teh gender is allready there Quote
InuTora333 Posted June 26, 2009 Author Posted June 26, 2009 Re: Registery No, Danny. It was not there. Also, I have decided that I do not want you to code for me. Reason being: I want to learn to code... Not have someone else just do it. =/ Anywho, since I seem to still have trouble. I am using the 'lite' version, it did not come with a gender option. Any player that signs up is automatically male. I have female and male in the db I think, the default is set to male though. I think that I may be close to getting it, though I am trying PHP with having very little to almost no knowledge. Quote
Danny696 Posted June 26, 2009 Posted June 26, 2009 Re: Registery i dont like the background of your game and also the register dont work Quote
InuTora333 Posted June 27, 2009 Author Posted June 27, 2009 Re: Registery Register works for everyone else. an I know.. it was temporary, until I get a better one. Quote
Dayo Posted June 27, 2009 Posted June 27, 2009 Re: Registery in ur table have a jender table then in ur register have something like if ($_POST[gender]==M) { $gender=M; } else { $gender=F; } then edit the query to allow this 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.