Use PHP Session to Display the Username on Header after Login

  Рет қаралды 15,110

Codehow2

Codehow2

Күн бұрын

Пікірлер: 15
@Codehow2
@Codehow2 4 ай бұрын
Friends, I have created this video to show how you can display user information after login using PHP session. For example, if you want to display user name, store it in a session variable after successful login and then display it on the header. I hope this video will help you in developing your login system in PHP. If you find it useful, please give it a like and subscribe to my channel. Thank you - Sundar
@TGSprod
@TGSprod 9 ай бұрын
Bro i searched the whole youtube for that video.. my gosh thank you!
@Codehow2
@Codehow2 9 ай бұрын
Glad I could help
@muhammadshahzadshahzad8632
@muhammadshahzadshahzad8632 6 ай бұрын
Assalam alekum bhai ek issue araha h jb me site ko login ya logout krta hn mery admin pennel pe bhi same effect hota h
@sumeetsaurabh8124
@sumeetsaurabh8124 8 ай бұрын
If different users sign up and login, will it show different names for everyone?
@Codehow2
@Codehow2 8 ай бұрын
Yes
@shyamradadiya7714
@shyamradadiya7714 10 ай бұрын
Bhai dashboard ka name kaise change kare har ek pannel ke liye
@Codehow2
@Codehow2 9 ай бұрын
If I understood your question correctly, you want to display different title for different dashboard. one option is to use a session variable as the title. just set the session value and include as header. For a framework it is easy as we can send data to the view.
@shyamradadiya7714
@shyamradadiya7714 9 ай бұрын
@@Codehow2 no buddy i want to show one name for all dashboard panels
@sumeetsaurabh8124
@sumeetsaurabh8124 7 ай бұрын
How to add signup and after login
@Codehow2
@Codehow2 7 ай бұрын
you can watch register and login video in this channel, it includes signup and login and displays the user name after login. watch this kzbin.info/www/bejne/m2TTqaCvgbeqY7M
@sumeetsaurabh8124
@sumeetsaurabh8124 7 ай бұрын
Thank you so much ❤
@sumeetsaurabh8124
@sumeetsaurabh8124 7 ай бұрын
Isi code me change kr ke kr dijiye sir.., usme incorrect password error aarha hai jabki sahi password hum daal rhe hai
@Toshiflakdawala
@Toshiflakdawala 17 күн бұрын
Source code?
@Codehow2
@Codehow2 16 күн бұрын
Hi, source code link is given in the video description. Just click codehow2.com/php/how-to-display-logged-in-user-name-using-php-session. It will show the same topic in the website, scroll down and will see download button. Thanks
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
Login Form in PHP With Session And MySQL
30:53
OnlineITtuts Tutorials
Рет қаралды 154 М.
PHP Password Reset by Email
20:56
Dave Hollingworth
Рет қаралды 69 М.
Login With User Authentication - Django Wednesdays #21
21:25
Codemy.com
Рет қаралды 188 М.
Login and logout in php using session in hindi
30:10
Nilesh Dadheech
Рет қаралды 25 М.
Save HTML Form Data to a MySQL Database using PHP
24:38
Dave Hollingworth
Рет қаралды 220 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН