jayriku12 Posted June 27, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 32 Reputation: 0 Joined: 06/25/12 Last Seen: February 16, 2014 Share Posted June 27, 2012 I'm making a custom PHP login script where ppl can make account and login. I won't be using ceres or flux cp. how would i do the gender when ppl make a new account? codes requires , ty. Link to comment Share on other sites More sharing options...
en_dev Posted June 27, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 113 Reputation: 5 Joined: 06/06/12 Last Seen: December 25, 2013 Share Posted June 27, 2012 Using form, example below. <form method="post"> <select name="Gender"><option value="M">Male</option><option value="F">Female</option></select> </form> Then you gonna use php code to fetch all those variables like $getGender = $_POST['Gender'] where $_POST['Gender'] comes from name select tag. do php security also for sql-injection. Link to comment Share on other sites More sharing options...
jayriku12 Posted June 28, 2012 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 32 Reputation: 0 Joined: 06/25/12 Last Seen: February 16, 2014 Author Share Posted June 28, 2012 Thank you! *Topic has been answered by en_ dev. Link to comment Share on other sites More sharing options...
Question
jayriku12
I'm making a custom PHP login script where ppl can make account and login. I won't be using ceres or flux cp. how would i do the gender when ppl make a new account? codes requires , ty.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts