PHP Session Login with Database

preview_player
Показать описание
Hey Guys!

So in this video we will use the last video's connection code and connect to database. Then we will understand what sessions are in PHP and then we will apply the sessions in php and make a login tutorial in php and redirect it to a new page whilst logging in.

However in the next video we will continue from this code and then we will see the logout functionality in the php. Thus in these 2 videos we will cover the login logout functionality and understand what sessions are and how to use them in PHP.

Hope it Helps!
@CodeFlix

For more about these videos, subscribe to my channel CodeFlix.

Watch My Other Playlists:

Also If you want updated projects and codes follow :

Telegram Channel: CodeFlix
Рекомендации по теме
Комментарии
Автор

Love u man!!! my SESSION variables wouldnt be readable every time it moved from login.php to update.php.. i was pissed for 4 hrs, i saw that u have called function session_start() in new page as well.. i did same and it worked!!!

loveever
Автор

Can you show the database creation ?? like .. your github doesn't have exported db file

Murii
Автор

Sir, I want to ask you something. On the register.php page, I get the user's name, email address, password and company name. then on my index.php page, I get the mail and password from the user. Everything your question is working, but I can only print the e-mail address and password as session. I want to print the company name and the user's name. but I can't print. Can you help me

sabitarturk
Автор

i am try this code but its not working do not verfiy database values

aamanmujawar
Автор

nice video, but can i ask how to fetch other data other than user and password?.

marksuuuu
Автор

my code gives an error: it doesnt seems to know num_rows that you use in the tutorial.

luciano