Can I validate login with PHP? | Sololearn: Learn to code for FREE!


Can I validate login with PHP?

I'm doing a job for a client and it requires creating a login in page that will open the user profile account next. I'm not really sure how to go about any of this. What can I do? Is it possible to do this with AJAX?

3/12/2021 8:30:26 AM


1 Answer

New Answer


Yes you can do login page with php and ajax but it's not required you need to use $_SESSION to know the right user and connect with mysql database, in mysql database you need two tables for username and password