Prevent Blank data registration

hello guys im pretty new to PHP and am trying to make a simple register page. if i forget to put anything in here please feel free to comment.

ok onto the quetion, my GETregistration form is allowing me to enter users with out entering data… i need that fixed and i dont know what to do.

also i need it to tell me that any of the designated fields are empty and require information if someone tries to create a user without filling it out.

i have attached what i have managed to do so far…

can anyone please help?


DBgetregistration.txt (2.73 KB)

Dont do the query stuff if errors isnt empty.

Also, you should drop mysql_* fumctions and kearn mysqli or pdo instead. The mysql_* are deprecated and will be removed from PHP

Sponsor our Newsletter | Privacy Policy | Terms of Service