jayriku12 Posted June 27, 2012 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.
en_dev Posted June 27, 2012 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.
jayriku12 Posted June 28, 2012 Author Posted June 28, 2012 Thank you! *Topic has been answered by en_ dev.
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.
2 answers to this question
Recommended Posts