Library management system part 18 | Starting SESSION, login & logout user with session
HTML-код
- Опубликовано: 10 сен 2024
- Online Library Management system -part 18. login & log out with session
Website design tutorial.
student_login.php :drive.google.c...
navbar.php: drive.google.c...
🎉🎆🎇📢📢 If you want to learn more about this Library Management System project, then read this article bit.ly/2s6n4l8 . This website will have these features mentioned tn the article above.
Here I’m going to show you all about Web based library management system project using mostly HTML,CSS, PHP and MYSQLI Database. But I’ll use a little bootstrap and javascript in some pages to make our website look more beautiful. You can take help from these videos and make your own project easily. In the beginning I’ve made most of the pages of online library management system step by step in html, now I’m adding PHP & MYSQL to connect to database.
Visit my blog: bestece-projec...
Twitter : Twitter: / ece_projects
#WebsiteDesign #OnlineLibraryManagement
My login page is not working & welcome amd logout button did not showing.What should i do. can you please help me
Ma'am I have a Fatat error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB version for the right syntax to use near "admin" at line 1 in C:\\ stack trace:#0
:mysqli_query(Object(mysqli), 'SELECT username...') #1{main} thrown in C:\ registration.php on line 59
My coding is right but this portion (welcome c part) is not showing.... please help me....I can't find the error..
Nice.....,.
Please help I have to complete college project in only few days
Warning: Undefined array key "login_user" in D:\xampp\htdocs\library\student\index.php on line 41
Mam my logout button is not working it is showing server error and error 500 only for this page...I did the same as you did plz help me out
Here's the code. Check if you have made any mistakes.
Warring : understand array key "login_user" in c:\xampp\htdocs\library\index.php on line 23
What is this error and who to solve it ?
Please sister 🙏 I don't know what to do with this error
Hey, did you find any solution to this? Please help I need to submit my project and i'm stuck :(
If I have not included the navigation.php the wat shld I do so that I get information on every page of login n logout. Pls reply soon @Electrical & Computer Engineering Project.
You need to create different session variables for the data that you need to access. Then use those variable anywhere you need.
A separate code itself???? @Electrical & Computer Engineering Project.
No just the variables that you need. Everything else is same.
@@ece_projects thnkyou👍❤️
There is a problem it's giving undefined login_user ......As i have right the same code .
Have you started your session above the page? Also check the session variable name if you've given some other name instead of login_user.
Hey, did you find any solution to this? Please help I need to submit my project and i'm stuck :(
same problem for undefined login_user.i tried in many way but it cant work.
It occurs when a variable is used somewhere without defining it beforehand. Have you forgotten to start session at the beginning? Or have you named your session variable something else? Recheck these 2 things .
Hey, did you find any solution to this? Please help I need to submit my project and i'm stuck :(
mam im not getting the logout option after login still im getting login and signup option
plz help me out mam plz plz
You need to create logout button inside the if condition and others outside the if condition
@@ece_projects mam in code should I use
Please can you say what to do now
Thank you so much this was very helpful....
But I'm getting error as "Undefined array key "login_user" in index.php"
Plz help with this....
Have you started session on the index page? The page isn't recognizing your session variable on index page
Remove the underscore ,it worked for me
@@graceAndFrankie72 still not working for me. Any idea how to solve this?
@@ece_projects same error.. how to solve tthis?
I don't know what to do.... please help me
can you sent me the source code of of part 18
Error is "undefined variable: _SESSION".....
Have you created the session variable? Your program isn't able to find the variable name. You need to create the session variable like I've shown in the video. And also check if u have started session at beginning of your code
I do it. But new problem is when I have enter username, password than redirect index page, but This index page does not belong to that user and not showing username also.
This index page does not belong to that user because The video will show you the username and password for the spoken boolean and the logout will be an option, but showing a student login option. I think it's entered ELSE condition, not to entered IF condition. Please help me.
Check your email again. Your login page had errors that's why the session variable was not created.
@@mahithad8539 yes...I can solve this prblm...
the code is not working
Check your code. You must have written it wrong.
@@ece_projects yeah, I checked it's alright now
@@mohdsibratuddin7957 Hey, did you find any solution to undefined array key? Please help I need to submit my project and i'm stuck :(
Warning: Undefined array key "login_user" in D:\xampp\htdocs\library\student\index.php on line 41
You need to start session at the start of index page
@@ece_projects I tried the same earlier but there was no change. Then I tried adding session_start() at the beginning of login page. This resolved the error. Thank you so much!
Index.php me problem ho gya h
Part 18 k coding k baad
Notice: Undefined index: login user in C:\xampp\htdocs\library\student\index.php on line 39
Navigation bar aur image 3. K bich gapping h bahut
Mam please help it's my project work I have to submit it in few days
Please help
You missed the underscore "_" between login_user
If there's gap before something add negative Margin on top of it. Let's say the image is in body tag or a div tag. Then add style=" margin-top: -20px;" inside that tag like how we add normally
Mam line 39 ka problem solve ho gya
Hi