Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You might add:
Agender
Androgyne
Androgynous
Bigender
Cis
Cisgender
Cis Female
Cis Male
Cis Man
Cis Woman
Cisgender Female
Cisgender Male
Cisgender Man
Cisgender Woman
Female to Male
FTM
Gender Fluid
Gender Nonconforming
Gender Questioning
Gender Variant
Genderqueer
Intersex
Male to Female
MTF
Neither
Neutrois
Non-binary
Other
Pangender
Trans
Trans*
Trans Female
Trans* Female
Trans Male
Trans* Male
Trans Man
Trans* Man
Trans Person
Trans* Person
Trans Woman
Trans* Woman
Transfeminine
Transgender
Transgender Female
Transgender Male
Transgender Man
Transgender Person
Transgender Woman
Transmasculine
Transsexual
Transsexual Female
Transsexual Male
Transsexual Man
Transsexual Person
Transsexual Woman
Two-Spirit
Like Facebook -
Wack63117yHow do you store passwords and compare them when logging in? Here would be an example how to use bcrypt: https://stackoverflow.com/questions... you should never store passwords in plaintext.
Talking about storing data. You shouldn't use "mysqli_" functions (and definetly not "mysql_"!) but instead use prepared statements (PDO). Here is a, IMO pretty good, tutorial for it: https://phpdelusions.net/pdo
Oh and as a "bedtime story", I'd reccomend to read http://www.phptherightway.com/
Also feel free to ask questions. -
codumke3397yI would add the email field under the last name, for me it looks nicer not to type first an password and than the email.
-
Picard1727yWith the first check, you just iterate over every post field and check for emptiness. If there are none, the validation will not fail. Better to declare at least a list of expected keys and validate for them.
Always remember:
Rule #1: all input is evil
Rule #2: don’t trust the client -
Brugle837yYou could declare $error_message first and then use .= to add errors to it. The user would see all the errors rather than just one. If you wrap your errors in p tags it'll look nice too.
-
Phlisg25247y@SteffTek wtf
Should add a text input field instead, you don't want to get sued for not posting the correct or up to date list 😂
😓 -
-
@SteffTek
😐🔫
xx/xy chromosome
Get the fuck out of here I have complicated shit to focus on.
I don't care what you do—just don't fucking bother me with this shit.
People are changing races now and even making shit up. -
@Lahsen2016
Dude it's great you have the time to figure this shit out—i don't and I don't give a fuck. I'm a guy who likes women. What you do with your life is none of my business.
How I look at it if you have a dick at birth you're a guy if you have a vagina at birth you're a girl.
If you're offended by my opinion you have to rethink what you value in life. I'm a guy who you probably never gonna meet. With 97% certainty I'm in a different country and have ZERO influence over your life. Buy a bigger set off balls grow thick skin and get on with your life man.
That's it for me man social construct or not.
K.i.s.s
Keep it simple stupid -
Akyshnik987y
Related Rants
It's working!
undefined
basic
simple
easy
registration form
php