Amardeep Thadisetty1,347 Points
how to display alert box in login screen in php if a user enter's a wrong password. I have tried that in ajax. Is there
Is there any way to do it. when a user enter's a corret username and password we let him in. IF he don't how to achieve it?
Jeremy Hayden1,740 Points
Php is server side script, meaning its done once the website hits the users browser.
Here is a simple example:
Justin Black24,266 Points
Now that is a very basic example, but would function.. The PHP is pretty simple... check database, to see if the username and password exist and match... if not echo "error"; if they do echo "success"