People can create an account without a name or password

So basically as a A - Level project we have been tasked to create a website which is what I’m doing. I’ve began the creation process of allowing people to register new accounts as well as log in to those accounts however, I’ve stumbled into an issue with my coding. I don’t know how to make it check whether a username, password or Email (although not currently linked) has been registered.
Anyone that can help would greatly appreciate.

Here is a link to the code for my registration page. If you require anything else just ask.
https://hastebin.com/oqipuxiqug.xml

https://www.tutorialrepublic.com/php-tutorial/php-mysql-login-system.php

Recommended to select the OOP tab (code)

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.