Can I validate login with PHP? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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?

12th Mar 2021, 8:30 AM
Logos
Logos - avatar
1 Answer
+ 3
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
12th Mar 2021, 11:49 AM
Jamal Saied
Jamal Saied - avatar