This course is really insane. I will watch the whole series and then try to make a cinema ticket booking website. Thank you Mr. Vijay Thapa for your incredible explanation.
That's awesome. I'm really glad that the course is helpful to you. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
I'm really glad that you enjoyed the tutorials. Thank you so much for your love and support. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Sir, your way of speaking is very good, it seems like you were created to teach. You explain everything one by one. I hope you continue to create PHP videos. I am learning core php thanks to you. Please create more advanced projects related to PHP. With love from Turkey, God bless you.
Thank you so much 😊 I'm really glad that you enjoyed the course. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. And for sure I'll try my best to make new courses. Thanks and Regards!
I'm really glad that you enjoyed the tutorials. Thank you so much for following the course. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
I'm really glad that you've learning on your own as well. Hope you'll complete the project soon. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Sorry to be off topic but does someone know a tool to log back into an Instagram account?? I was stupid lost the account password. I love any tricks you can offer me
I'm really glad that you're enjoying the course. Hope you'll complete all the tutorials soon. Also I'll be creating new advanced course with PHP OOP. Hope to see you there. Best Wishes for Future Endeavors.
i'm ethiopian!!! ohhh GOD this smart guy keep as well. Thank you Mr. Vijay Thapa for your incredible explanation. you are the best hero in my ERA(period(time). I will watch the whole series you are good person with smart knowledge. God bless U my bro
Thank you very much! I have learned a lot from the first two classes in this series. I'm Brazilian and researching a php and mysql course I found your channel and I really want to congratulate you. I expect more work from you on php and mysql. I'm a beginner and your explanation is excellent. If possible, zoom in because it's a little difficult to see. I go to the third video.
I'm really glad that the tutorials are helpful to you. And in next course I'll try to zoom in. Thank you so much for following. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Best Wishes!
I'm really glad that the tutorials were helpful to you. Hope you completed all the tutorials. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Stay Safe, Keep Learning. Best Wishes!
Glad to hear that. And I'm really glad that you're enjoying the course. If you also think the tutorials can be helpful to other, then please SHARE. It also helps this channel to GROW and your loved ones will also get to learn Web Development for FREE. Best Wishes!
Thank You So Much Krishan for checking out the tutorial. And I'm really glad to know that you're interested to see the final project. Currently I'm publishing 2 videos per week, so the full course and project will be completed in 2-3 weeks. If you think the course and the project is helpful to you and can also be helpful to others, then please SHARE with your loved ones. It helps this channel to grow and your friends and family also can learn Software/Web Development for FREE. Thanks and Regards!
@@VijayThapa Sure Thing!, I will definitely share your channel with my friends! Again thank you for all the time and effort you put into this tutorial!.
@@VijayThapa If you don't mind ask Mr. Thapa , what will be the last part of this video tutorial set? I meant the part number! . Once again Thanks for sharing this tutorial with us.
DELETE ADMIN 1:15 create delete admin page 1:55 plan out the procedure 3:10 echo the SITEURL with delete-admin page for the anchor tag in button 4:50 pass the id in the anchor tag as well 5:20 get method in url 5:45 get id from form into delete-admin page 7:00 create sql query to delete from table 7:30 create statement to execute the query 8:10 include config/constants file 9:25 check query executes successfully 11:30 create session variable to display in manage-admin page 12:10 redirect to manage-admin page 14:30 display session message and remove session variable 15:30 fix header() error 16:40 add colour to message 19:00 test the css for message 20:20 add the css class for add admin too (on your own) UPDATE ADMIN 21:00 create update admin page 22:40 echo the SITEURL with update-admin page for the anchor tag in button 24:00 create form similar to add-admin 29:20 get details of the admin 35:10 check if admin is valid, explain security 37:40 assign values to input in the form 39:15 check submit button is clicked 40:30 hidden input tag for the id 42:00 get all the values from form to update 45:55 check sql executed 48:20 display message in manage-admin if successful CHANGE PASSWORD …
Thank you Mr. Vijay for sharing your knowledge with us and I really appreciate and all your efforts to share you knowledge I hope that for tutorial you do to your channel and it will help to me as a computer engineering student
Hi @Steven Campano, Thank You So Much for following the tutorials and I'm really glad that the tutorials are helpful to you. If you understand the basic logics behind every code, then I'm pretty sure that you'll be a great developer. Also if you think the tutorials could also be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
So nice of you. I'm really glad that the tutorials were helpful to you. Also if you think they can be helpful to other, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
I'm really glad that the tutorials were helpful to you. Thank you so much for following the tutorials. Also if you think the tutorials could be helpful to others as well, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Thank you so much. I'm really glad that the tutorials were helpful to you. Hope you complete all tutorials soon. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Best Wishes!
Master Thank you for your videos, I always watch your tutorial.. my suggestion topic is Laravel with PHP,E-mail verification.. and if you can Free Web-hosting thanks more power
Thank You So Much for following the tutorials. And great suggestions. I'll be making more advanced courses on "OOP with PHP", and email verification, and will also make on hosting your PHP web apps for FREE. But It'll take some time. Hope to see you in new courses. Best Wishes!
I'm really glad that the tutorials were helpful to you. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Thank You @Ibrahim khed, I'm really glad that you're enjoying the course. Also if you think the tutorials can be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones also can learn Web Development for FREE. Thanks and Regards!
sir i am not able to display the message on th admin page and as well as not able to change the password and update the admin sir plz help me out regarding this . as soon as i click on those buttons it is not redirecting to the manage admin page
I’m really glad that you enjoyed the course. Thank you so much for following. Also if you think the tutorials could be helpful to others, then please Share with your Family and Friends. It helps this channel to Grow and your loved ones can also learn Web Development for Free. Thanks and Regards! 🙏
@@Lightologyy If you think the tutorial was helpful to you and can help others as well, then don't forget to SHARE it with your loved ones. It helps this channel to grow and your loved ones can also learn Web Development for FREE. Thanks and Regards!
You're always welcome. I'm really glad that the tutorials were helpful to you. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Thanks for doing this video tutorial Sir!! it helps me a lot but I have a question if I wanna make the error message (when the new password and the confirm password not match ) on the change-password.php page it show me an error about the id what should I do??
Thank you very much brother .I have a problem when i enter wrong password or wrong details the mesage not shows in the manage admin page user not found or pwd not match something . This is happen in the second video what the problem ?
Please check the session and session messages, you might have error there. If needed watch the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
Thank You So Much. Hope you completed all the tutorials. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Most welcome. Hope you completed all the tutorials. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Thanks your very much! But i have an error. If i set password in database phpadmin is INDEX then when entering the ID in the URL bar it doesn't switch the page and doesn't show the error "User not Found" 1:14:32 . Sorry my english so bad
Please try watching the tutorial once again and compare the code. It might help you to find the error and fix it. If you couldn't, then email me at hi@vijaythapa.com Best Wishes!
19:45 My code is correct, it's not giving any error but my session message is getting displayed on add admin page : "Admin deleted successfully" Help me out sir!!
Then you might have missed something in your code. Check your if-else statement and the code on redirection. If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
@@Riya-ls1kv You're always welcome. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
You're welcome! Hope the tutorials are helpful to you. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Check your URL on delete button, you might have some error while passing the value for id. If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
You might have missed something in your code. Please watch the tutorial once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
sir I repeate same steps again and agian but submit button in update part not clicked and not connnect wit DB but same like steps doing on ADD Admin button and its work perfectly.
Check your form method once. If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
Check whether your password is encrypted and updated in database or not. And also watch the tutorial once again, it might help you to find the bug and fix it. Best Wishes!
It's a good practice to give full url. So it won't give you errors once it gets big and can make changes quickly when you have to change hosts or domains. And to SHOW the messages for short time, you need to use JavaScript.
Yes you can do it. You can either add 1. HTML validation Add "required" attribute in your input tag 2. PHP validation Before executing the query, check whether the value is null or not. Use if-else statement. If null - display error I was going to add the validation on next course. This course was for complete beginners, so wanted to keep it as simple as possible. Best Wishes!
Thank you so much sir. Your videos are very helpful.🙏 Sir on 1:24:39 its sometimes showing User Not Found and sometimes showing Failed to change password ,inspite of Password Changed Successfully . But the names are showing perfectly in both table and database. I have watched the video multiple times and follow exactly like yours, but still it's showing user not found and failed to change password.
Please watch the tutorial once again while "adding-user" or "updating-user". It might help you to find the error and fix it. You might have missed something. If you couldn't fix the error, then email me at hi@vijaythapa.com with the screenshot of your error and code. Thanks and Regards!
It's because On Update_Admin, first we get id then use it with DDL ( SELECT SQL Query ) to get the current data. So, here query will execute only if the id exists. Thus, we check whether the request is correct or not. But in Update_Password, we get the data and Execute the Update Query without checking. So to validate whether the request is correct or not (has id), we used if(isset($_GET['id'])). Hope you understood. Best Wishes!
Thank you so much. I really appreciate your love and support. It means a lot to me. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Sir I have the doubt in update admin in task manager we count the rows give the rows in while but now you simply give the $row . Please clear my doubt?
Watch the tutorial till last. I've counted rows on other sections as well. Thanks for following "Task Manager course" as well. Here, I may have forgotten or got too confident since the admin panel is only for admins not for users.
It doesn't matter, image will be renamed automatically with different Random Integer. If you want to make each uploaded unique, then you can append "UUID" or "uniqid" function.
Thank you so much for following the tutorials and I'm really glad that you enjoyed them. for now, I don't have any documentations just the course with Schema Diagram.
@@VijayThapa oh okay. Actually, I was planning to create this website as my main college project. What I have in mind is a handloomed/weaven clothes selling platform. I'm planning to create this and modify the images and other content to look like a handloomed clothing store. Do you have any suggestions that'll help me. I'm new to php, so slowly figuring things out. Also, there should me minimum of 6-8 database tables in the project to meet my College's project requirements. Can I add extra tables to this project like maybe discounts, User registration to make it 8 ? Will it be a challenge for a beginner like me? Please provide your suggestions sir, it would be really helpful for me.
When I delete admin I m getting warning and errors like no such file or directory and failed opening the config/constants.php part and undefined variable conn and mysqli_query expects parameter 1 to be mysqli..... 😶 And the last thing failed to delete admin.... please help as I have to submit this before 17
I think you've an error on including "constants.php" file. Please check that section. If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
@@VijayThapa Everything else is changing. Like if I'm removing wrapper class it's removing padding so admin.css file is working bt only tbl-30 is not working Don't understand why current and password are showing in different lines
hello master your tutorial is awesome, i love your energy but i have problem in 16:00, my admin deleted successfully not displaying, only fail to delete admin show, help am stuck
Please check whether you've passed id on delete button or not. And also check whether you've got the id on delete page or not and is your SQL query correct? If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
@@VijayThapa i am facing same problem,,in delete page there a error like "id is undefined".. How i overcome this problem?? I saw your video again and again..
Hello sir, i have a problem when i click on the delete admin , it takes me to a page where it says Not Found The requested URL was not found on this server. Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.5 Server at localhost Port 80 can you help or or anyone? Thank you!!
It might be the error on your DELETE path. Please check that. Check the URL on your Delete Button. Also if needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
actually i am using sublime text ..evything is working fine except isset function ..message will not print whenever i add a admin or if i delete a admin .... i donno what is the problem .
It's not the error with your code editor. You might have error either on setting the session or displaying the session. Please watch the tutorial once again if needed and compare the code. It might help you to find the error and fix it. Best Wishes!
Sir, it is displaying the success message, but the action is not done. That is if i click delete admin, it shows admin deleted, but the data is still appearing on manageadmin page. Wat to do sir
Then check 1. Whether you’re getting admin id in delete page or not. 2. Check your SQL query 3. Check your if condition before redirecting to pages Does it has a single = or double ==? Best Wishes!
Sir, though I give one= or double= the data is getting inserted . And without even entering name and password , the data is getting saved into database displaying id. I don't understand wer iam going wrong sir.
@@yogeshwariyogi3741 You should know the difference the between single = and double = and when to use them. So data is saved, then what's your error? Without adding username and password, the data is saved because we've not added any validations. If you want to check and save the admin only when username and password is provided, then use if-else condition to check. If username and password is not empty then insert into database else do not insert. If you can't do that, then you can add HTML validation (required) on your text box on both username and password. If you don't know about required attribute, read here developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required Best Wishes!
A1 tutorial series, but viewers be aware of securing against SQL injection and XXS attacks, the code shown did not account for it. This is only good for beginners trying to learn concepts.
Thank you sir its very very helping for me but its one problem that i have when i set session of delete its redirect to manage-admin.php but delete msg not display plzzzzzz plzzz plzzz sur help mee
First, try watching the tutorial once again and compare the code. It might help you to find the error and fix it. If you couldn't fix it, then email me at hi@vijaythapa.com with the screenshot of your error and code. Thanks and Regards!
During the change password , when we are comparing the ID and password that time even if the user is present it will show user not found. How to solve this error
Please check whether you’ve encrypted password with MD5 while adding user or checking for login? If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
Then please check your redirection code after updating successfully. Also watch the tutorial once again and comparer the code. It might help you to find the error and fix it. Best Wishes!
Please check for the following errors 1. Check your SQL query 2. Check whether your "if condition" to compare username and password in db is correct or not 3. Check your MD5 Encryption while adding the admin as well as on login. Watching the tutorial once again and comparing the code might help you to find the error and fix it. Best Wishes!
@@VijayThapa thanks for your reply! I will check my code once again and the areas you just mentioned & let u know if i was able to rectify my error. Although i have replayed your videos 100 time since Tuesday, but still i again recheck it, its been 2days and i am still stuck.
Hii, I am really enjoying this tutorial but when I am trying to compare the current password it doesn't getting the data from the database even if I am entering the correct admin password? Can you please tell me the reason for it?
Sorry! I cannot tell any reason without looking at your code. You might have error in your SQL query to get the credentials of current logged in user. Or you forgot to encrypt the password with MD5 before comparing. Thanks and Regards!
You're welcome. Hope the tutorials were helpful to you. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
Then you might either have error on 1. Your link to delete page or 2. on your Delete Page while deleting the admin and redirecting Please check these places. If needed watch the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
You may have error in your if-else statement. Please check it once. If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. If you couldn't fix, please send me an email at hhi@vijaythapa.com with the screenshot of your error and code. Best Wishes!
Bro first we have to learn the basics about php and we want watch the course or we will learn through this course it self I have the confusion please reply bro?
If you have created any project with PHP with then you can start with this one. But if you want to start with simpler one, then you can follow the course below first ua-cam.com/video/1rl36zxqZZw/v-deo.html And then follow this "Food Order Website" course. Best Wishes!
Please check your code once. Check SQL Query also check whether the user_id is passed on DELETE button or not. If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
At 1:15:27 mine isn't working. Which part should I check to make this work? Is it my sql query? in my project i changed "id" to "adminID". And I type like this for $_GET=adminID , as well as $_POST=adminID but it doesn't work. Pls help Sir
And did you pass the value along with addminID in URL? while getting the id, it should be $id = $_GET['adminID']; Please try this, if needed watch the tutorial once again and compare the code. It might help you to find the errors and fix it. Also if you find this course difficult, then I'dd recommend you to watch another simpler course (TASK Manager) first and watch this course later Simple Course - ua-cam.com/video/1rl36zxqZZw/v-deo.html Best Wishes!
You're welcome! Hope you completed the tutorials and was helpful to you. Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
hello sir, i am getting this error when i am trying to connect to the database. on minute 51:30 Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\Online-Food-Supermarket\admin\add-admin.php:69 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Online-Food-Supermarket\admin\add-admin.php on line 69
Did you mean you can add 2 different admins with same email and username? If you mean this, then it's because we've not added validation while creating or updating the admin. You can just check with if-else statement whether the same email/username exists or not, then add admin if not added before. Else display the message. Best Wishes!
My code running well. Message admin deleated successfuly displayed And refressed normally . NOW PROBLEM IS, My add admin not redirecting to the form . How could help me now.
@@aitarufancy4365 You'll need to find out. I can't tell without looking at your code. Watch the tutorial once again and compare the code. It might help you to find the errors and fix it.
@@VijayThapa yes i am using xampp server. i having problem in change password page . when I enter a current passsword and after that i enter a new password and confirm the password the opassword redirect me on add admin page and show that the error user not found
Hello Sir! Actually the error for me is when we go to manage-admin.php page and click add admin button and fill admin details and add admin then it should redirect me to manage-admin.php and show admin added successfully but instead it is giving me the error of 404 page not found .... help me solve out the error!!
If you've learnt the basics of programming so far (like if-else), then it's time to test it. Try checking whether you've got data from the form or not with if-else statement. Like If($username=="") { Error Message and Redirect. } Or add simple HTML validation. (Don't just copy and code, do some research and try your own logics and imaginations as well. Try to make the project better than what I've done.) Best Wishes!
Hello sir. I have an issue with redirecting here. It is not showing anything when I click the button. else{ //User does not exist Set message and Redirect $_SESSION['user-not-found'] = "div class='error'>User not found."; //Redirect the User header('location:'.SITEURL.'admin/manage-admin.php'); }
On session variable use _ “underscore” instead of - “minus or hyphen” And I cannot give you any solution without looking the full code. Where is this code from? Which page?
Please check your Update Query. You might have error there. I cannot give you the solution without looking at your code. So if you want to compare your code with mine, please email me at hi@vijaythapa.com Thanks and Regards!
You might have SQL error. Please check that. If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
Sir I added "delete-admin" url correctly on my code it shows me error The requested URL was not found on this server. Apache/2.4.52 (Win64) OpenSSL/1.1.1m PHP/8.1.1 Server at localhost Port 80
Try watching the tutorial once again and compare the code. or Email me at hi@vijaythapa.com with the screenshot of your error and code. Thanks and Regards!
I'm getting( User Not Found )for changing the password also though my current password is same and entering new and confirm passwords same . Please help me with this sir
@@vinilreddy1197 on Update Password Button Click, Are you getting the ID of current User? and did you encrypt "Current Password", "New Password" and "Confirm Password" with MD5? Is your SQL Query Correct? Please check all of these. Watching the tutorial once again and comparing the code might help you to find the bug and fix it. Best Wishes!
Hello, I really enjoy this tutorial, I have a problem and I hope you have a solution that when I enter the password it allows me to enter the dashboard but when I apply the logout it does not allow me to enter the dashboard so what is the problem
That's correct, you need to login to enter the dashboard. And logout takes you to login page and you can't enter dashboard. That's it. Do you have any other errors?
Then please check the redirect link in your code. If needed watch the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
I think it's $_SESSION instead of $SESSION And you might have error in your SQL Query as well. Please check those, If needed watch the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
Yes, they can for now. If you don't want that, you can add either of the following 1. Remove Update and Delete Options, instead add "Update Profile" for logged in user only. 2. Add different roles. And give "Update/Delete" Permission to Super admin but not to normal admin. Thanks and Regards!
hi sir, i want to delete my admin but it failed to delete. the message only says "Failed to Delete". I believe its because of my query. I dont know how to correct my query ---- $res = mysqli_query($conn, $sql); ---- fyi im using my own id number for my admin instead of 1, 2, 3 . How to fix this sir?
Check whether you're passing the id on Delete link or not. Then check the query. And also what's the data type for your custom ID? If needed watch the tutorial once again and compare the code. It might help you to find the errors and fix it. And I also recommend you to learn basics of relational database and SQL queries. Best Wishes!
It might be due to temp or cache. Try one of the following 1. Restart your browser. 2. Restart your PC If none of the above works, then you might have some error in your HTML/CSS code, please follow the tutorial once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
Hello sir. In this section when i am going to change password all the time it shows me 'User not found'.I watched this vedio several times but i didn’t able to find the error. Pls Sir Help me..
Please try once again. Check whether you've encrypted password while adding the user, updating the user and login check or not. Also if needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. If you couldn't, then email me at hi@vijaythapa.com Best Wishes!
Hello! Mr. Vijay. Your Tutorial is excellent. But in the "update-password. php" page when I was trying to check If(isset($_POST['submit'] )) it is not responding. I watched your video many times but unfortunately I failed to understand why is it is happening. Please please guide me.
I cannot give you any solution without looking at your code. Did you add input type="submit" for your button with name="submit"? Please watch the tutorial once again and compare the code.
This course is really insane. I will watch the whole series and then try to make a cinema ticket booking website. Thank you Mr. Vijay Thapa for your incredible explanation.
That's awesome.
I'm really glad that the course is helpful to you.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
This is the best php tutorial I've seen on UA-cam... please don't stop making php tutorial videos
I'm really glad that you enjoyed the tutorials.
Thank you so much for your love and support.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Sir, your way of speaking is very good, it seems like you were created to teach. You explain everything one by one. I hope you continue to create PHP videos. I am learning core php thanks to you.
Please create more advanced projects related to PHP. With love from Turkey, God bless you.
Thank you so much 😊
I'm really glad that you enjoyed the course.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
And for sure I'll try my best to make new courses.
Thanks and Regards!
Master thank u. I just love your style of teaching . once again am following ur steps. Thank u sir
I'm really glad to know that you're enjoying the course.
Thank You So Much for your love and support @Emmy.
Best Wishes!
he creates a positive and enganging learning envronment where everyone feels valued
I'm really glad that you enjoyed the course.
brother you are god of logical programming really.... I love the way you use logic in back-end thank you again brother
I'm really glad that you enjoyed the tutorials.
Thank you so much for following the course.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Watched how to do the deletion and did the updation by myself. Thanks to you I am finally learning php. This hands on experience has helped me a lot.
I'm really glad that you've learning on your own as well.
Hope you'll complete the project soon.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Sorry to be off topic but does someone know a tool to log back into an Instagram account??
I was stupid lost the account password. I love any tricks you can offer me
these videos are so well made, and explained really good, thank you so much for your time.
I'm really glad that you're enjoying the course.
Hope you'll complete all the tutorials soon.
Also I'll be creating new advanced course with PHP OOP.
Hope to see you there.
Best Wishes for Future Endeavors.
i'm ethiopian!!! ohhh GOD this smart guy keep as well. Thank you Mr. Vijay Thapa for your incredible explanation. you are the best hero in my ERA(period(time). I will watch the whole series you are good person with smart knowledge. God bless U my bro
I'm really glad that the course was helpful to you.
Thank you so much for following.
Best Wishes for Future Endeavors.
Thank you very much! I have learned a lot from the first two classes in this series. I'm Brazilian and researching a php and mysql course I found your channel and I really want to congratulate you. I expect more work from you on php and mysql. I'm a beginner and your explanation is excellent. If possible, zoom in because it's a little difficult to see. I go to the third video.
I'm really glad that the tutorials are helpful to you.
And in next course I'll try to zoom in.
Thank you so much for following.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Best Wishes!
Good morning here
I would like you to make us a video of how you added those social media platforms in the website
Hello, just wanted to say thank you. sir you radiate BIG HEART ENERGY. thank you very much and god bless you and your family.
I'm really glad that the tutorials were helpful to you.
Hope you completed all the tutorials.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Stay Safe, Keep Learning.
Best Wishes!
you're saving my collage life man thanks a lot.
I'm really glad that you're enjoying the course.
Hope you completed all the tutorials and was helpful to you.
Best Wishes!
Thanks a lot .... i think again and again why i didn't see your video. At present , i and also my friends follow you to learn php project
Glad to hear that. And I'm really glad that you're enjoying the course.
If you also think the tutorials can be helpful to other, then please SHARE.
It also helps this channel to GROW and your loved ones will also get to learn Web Development for FREE.
Best Wishes!
after this video's u can do anything u want thx Vijay Thapa :)
Thank You So Much.
I'm really glad that you enjoyed the course.
Thanks, Mr. Vijay for sharing your knowledge with us and really appreciate it! and so thrilled to see the final project.
Thank You So Much Krishan for checking out the tutorial.
And I'm really glad to know that you're interested to see the final project.
Currently I'm publishing 2 videos per week, so the full course and project will be completed in 2-3 weeks.
If you think the course and the project is helpful to you and can also be helpful to others, then please SHARE with your loved ones.
It helps this channel to grow and your friends and family also can learn Software/Web Development for FREE.
Thanks and Regards!
@@VijayThapa Sure Thing!, I will definitely share your channel with my friends! Again thank you for all the time and effort you put into this tutorial!.
@@VijayThapa If you don't mind ask Mr. Thapa , what will be the last part of this video tutorial set? I meant the part number! . Once again Thanks for sharing this tutorial with us.
@@krishanbandara198 10th might be the last part of this course.
DELETE ADMIN
1:15 create delete admin page
1:55 plan out the procedure
3:10 echo the SITEURL with delete-admin page for the anchor tag in button
4:50 pass the id in the anchor tag as well
5:20 get method in url
5:45 get id from form into delete-admin page
7:00 create sql query to delete from table
7:30 create statement to execute the query
8:10 include config/constants file
9:25 check query executes successfully
11:30 create session variable to display in manage-admin page
12:10 redirect to manage-admin page
14:30 display session message and remove session variable
15:30 fix header() error
16:40 add colour to message
19:00 test the css for message
20:20 add the css class for add admin too (on your own)
UPDATE ADMIN
21:00 create update admin page
22:40 echo the SITEURL with update-admin page for the anchor tag in button
24:00 create form similar to add-admin
29:20 get details of the admin
35:10 check if admin is valid, explain security
37:40 assign values to input in the form
39:15 check submit button is clicked
40:30 hidden input tag for the id
42:00 get all the values from form to update
45:55 check sql executed
48:20 display message in manage-admin if successful
CHANGE PASSWORD
…
Thank you Mr. Vijay for sharing your knowledge with us and I really appreciate and all your efforts to share you knowledge I hope that for tutorial you do to your channel and it will help to me as a computer engineering student
Hi @Steven Campano,
Thank You So Much for following the tutorials and I'm really glad that the tutorials are helpful to you.
If you understand the basic logics behind every code, then I'm pretty sure that you'll be a great developer.
Also if you think the tutorials could also be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Thank you 🙏❤
I like your teaching 😍
Thank You So Much for following the tutorial and I'm really glad that you enjoyed the course.
Best Wishes!
Very useful series for beginners ❤
Thank you so much.
Hope you completed all the tutorials of this course.
Best Wishes!
@@VijayThapa yes sir, going through all video again and again
Thank you sir, You are a BRILLIANT
So nice of you.
I'm really glad that the tutorials were helpful to you.
Also if you think they can be helpful to other, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Thank You So Much
It really helped me alot 🙏🏻😇
I'm really glad that the tutorials were helpful to you.
Thank you so much for following the tutorials.
Also if you think the tutorials could be helpful to others as well, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Very helpful Video 👍
Thank you so much.
I'm really glad that the tutorials were helpful to you.
Hope you complete all tutorials soon.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Best Wishes!
Master Thank you for your videos, I always watch your tutorial.. my suggestion topic is Laravel with PHP,E-mail verification.. and if you can Free Web-hosting thanks more power
Thank You So Much for following the tutorials.
And great suggestions.
I'll be making more advanced courses on "OOP with PHP", and email verification, and will also make on hosting your PHP web apps for FREE.
But It'll take some time.
Hope to see you in new courses.
Best Wishes!
Thanks a lot sir for guidance. It is really helpfull.
I'm really glad that the tutorials were helpful to you.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
THANK YOU MAN!!!!!!!
du bist the best
Thank You @Ibrahim khed,
I'm really glad that you're enjoying the course.
Also if you think the tutorials can be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones also can learn Web Development for FREE.
Thanks and Regards!
sir i am not able to display the message on th admin page and as well as not able to change the password and update the admin sir plz help me out regarding this . as soon as i click on those buttons it is not redirecting to the manage admin page
thank you very much we learned a lot .
I’m really glad that you enjoyed the course.
Thank you so much for following.
Also if you think the tutorials could be helpful to others, then please Share with your Family and Friends.
It helps this channel to Grow and your loved ones can also learn Web Development for Free.
Thanks and Regards!
🙏
Hey bro I hope you can make a tutorial about forgot password,by the way thank you for your tutorial it helps me a lot keep up the good work:)
Thank you so much for following the course.
Hope it's helpful to you.
I'll try my best to make a course on forget password.
Thanks and Regards!
Well done Vijay... Nice lectures, please keep it up. I sat through the entire session of the course. How can I reach you?.
Thank you!
Hope the course was helpful to you.
You can email me at hi@vijaythapa.com
@@VijayThapa Sure it was very helpful. Ill message so we can collaborate on projects. Please keep it up. Bravo Zulu.
You're a genius!
Thank You So Much.
And I'm really glad that you're enjoying the course.
😊
♥
@@Lightologyy If you think the tutorial was helpful to you and can help others as well, then don't forget to SHARE it with your loved ones.
It helps this channel to grow and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
@@VijayThapa Will absolutely share it everywhere i can. Thanks for the great content!
Thank you for helping me in my college good sir
You're always welcome.
I'm really glad that the tutorials were helpful to you.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Can we use HTML in PHP? ( in 19:00 timing u added div tag in PHP )can we use like that can u explain this ?
Yes you can.
You can write PHP inside HTML and HTML inside PHP as long as the extension of the fie is .php
Please watch all the tutorials thoroughly.
Thanks for doing this video tutorial Sir!! it helps me a lot
but I have a question if I wanna make the error message (when the new password and the confirm password not match ) on the change-password.php page it show me an error about the id what should I do??
What's the error?
And please make your question more clear.
If you've multiple questions then use numbering (like 1, 2, )
Thanks and Regards!
Thank you very much brother .I have a problem when i enter wrong password or wrong details the mesage not shows in the manage admin page user not found or pwd not match something . This is happen in the second video what the problem ?
Please check the session and session messages, you might have error there.
If needed watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
I love this tutorial
Thank You So Much.
Hope you completed all the tutorials.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Tnx a lot sir 🙏
Most welcome.
Hope you completed all the tutorials.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
@@VijayThapa yes sir
Sure
Thanks so much again for this
I hope you help me also again.
If comes any errors during reading this tutorial 🙏🙏
@@VijayThapa Sir i want show password functionality in chang_password.php
How do it?
@@suryayadav9829 Current/Saved Password?
Password saved on database is encrypted, so it can't be shown, only changed.
@@VijayThapa I will try
Thanks your very much! But i have an error. If i set password in database phpadmin is INDEX then when entering the ID in the URL bar it doesn't switch the page and doesn't show the error "User not Found" 1:14:32 . Sorry my english so bad
Please try watching the tutorial once again and compare the code.
It might help you to find the error and fix it.
If you couldn't, then email me at hi@vijaythapa.com
Best Wishes!
same problem how did you fix it ?
19:45
My code is correct, it's not giving any error but my session message is getting displayed on add admin page : "Admin deleted successfully"
Help me out sir!!
Then you might have missed something in your code.
Check your if-else statement and the code on redirection.
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
@@VijayThapa yes sir!! thank you it worked
Thank you for your amazing tutorials
@@Riya-ls1kv You're always welcome.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
@@VijayThapa 1:24:20
my code is correct, it is not giving any error, but it is showing "password did not match" message.
thank you very much!
You're welcome!
Hope the tutorials are helpful to you.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
6.52 Getting error Undefined array key "id" while clicking on delete button while moving to delete-admin.php
Check your URL on delete button, you might have some error while passing the value for id.
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
the password change button when clicked does not display "Button is clicked" why?!
You might have missed something in your code.
Please watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
sir I repeate same steps again and agian but submit button in update part not clicked and not connnect wit DB but same like steps doing on ADD Admin button and its work perfectly.
Check your form method once.
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
i followed well but to match id and password am getting a problem displaying a error User Not found. the section of changing password,. around 1:15:00
Check whether your password is encrypted and updated in database or not.
And also watch the tutorial once again, it might help you to find the bug and fix it.
Best Wishes!
@@VijayThapa let me look into it
@@VijayThapa i have really learnt alot.
hello sir , i have little confusion on 3.52 min here
It's a good practice to give full url.
So it won't give you errors once it gets big and can make changes quickly when you have to change hosts or domains.
And to SHOW the messages for short time, you need to use JavaScript.
@@VijayThapa Will you show us this feature ??
@@akramsarkar7008 May be in new course.
Can you add an argument inside ADD ADMIN that will return an error message for blank form? I noticed that you can add blank admin.
Yes you can do it.
You can either add
1. HTML validation
Add "required" attribute in your input tag
2. PHP validation
Before executing the query, check whether the value is null or not.
Use if-else statement.
If null - display error
I was going to add the validation on next course.
This course was for complete beginners, so wanted to keep it as simple as possible.
Best Wishes!
Thank you so much sir. Your videos are very helpful.🙏
Sir on 1:24:39 its sometimes showing User Not Found and sometimes showing Failed to change password ,inspite of Password Changed Successfully .
But the names are showing perfectly in both table and database. I have watched the video multiple times and follow exactly like yours, but still it's showing user not found and failed to change password.
Please watch the tutorial once again while "adding-user" or "updating-user". It might help you to find the error and fix it.
You might have missed something.
If you couldn't fix the error, then email me at hi@vijaythapa.com with the screenshot of your error and code.
Thanks and Regards!
Hey, I had same problem. Can you please help me if you solved the problem.....???
hey sir !
please why in update_password.php you did if (isset($_GET['id'])) and not in update_admin.php
It's because
On Update_Admin, first we get id then use it with DDL ( SELECT SQL Query ) to get the current data.
So, here query will execute only if the id exists. Thus, we check whether the request is correct or not.
But in Update_Password, we get the data and Execute the Update Query without checking. So to validate whether the request is correct or not (has id), we used if(isset($_GET['id'])).
Hope you understood.
Best Wishes!
honnestly and sincerely, you are the best
Thank you so much.
I really appreciate your love and support.
It means a lot to me.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
Sir I have the doubt in update admin in task manager we count the rows give the rows in while but now you simply give the $row . Please clear my doubt?
Watch the tutorial till last.
I've counted rows on other sections as well.
Thanks for following "Task Manager course" as well.
Here, I may have forgotten or got too confident since the admin panel is only for admins not for users.
What if we replace any image of source code with same name and extention in images folder ??
It doesn't matter, image will be renamed automatically with different Random Integer.
If you want to make each uploaded unique, then you can append "UUID" or "uniqid" function.
Amazing project sir! Do you have any documentation for this project?
Thank you so much for following the tutorials and I'm really glad that you enjoyed them.
for now, I don't have any documentations just the course with Schema Diagram.
@@VijayThapa oh okay. Actually, I was planning to create this website as my main college project. What I have in mind is a handloomed/weaven clothes selling platform. I'm planning to create this and modify the images and other content to look like a handloomed clothing store. Do you have any suggestions that'll help me. I'm new to php, so slowly figuring things out.
Also, there should me minimum of 6-8 database tables in the project to meet my College's project requirements. Can I add extra tables to this project like maybe discounts, User registration to make it 8 ? Will it be a challenge for a beginner like me? Please provide your suggestions sir, it would be really helpful for me.
When I delete admin I m getting warning and errors like no such file or directory and failed opening the config/constants.php part and undefined variable conn and mysqli_query expects parameter 1 to be mysqli..... 😶 And the last thing failed to delete admin.... please help as I have to submit this before 17
I think you've an error on including "constants.php" file.
Please check that section.
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
On 1:01:50 mine is not showing current password in same line this showing current and password in different lines
And even password did not match is also not working
Watching the tutorial more carefully once again might be helpful.
Best Wishes!
@@VijayThapa Everything else is changing. Like if I'm removing wrapper class it's removing padding so admin.css file is working bt only tbl-30 is not working
Don't understand why current and password are showing in different lines
@@VijayThapa is it because my desktop zoom is 100% ??
Because just now I adjusted it to 90% and it is in a single line now
hello master your tutorial is awesome, i love your energy but i have problem in 16:00, my admin deleted successfully not displaying, only fail to delete admin show, help am stuck
Please check whether you've passed id on delete button or not.
And also check whether you've got the id on delete page or not and is your SQL query correct?
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
@@VijayThapa i am facing same problem,,in delete page there a error like "id is undefined".. How i overcome this problem?? I saw your video again and again..
Thanks
You're welcome.
Hope you completed all the tutorials of this course and was helpful to you.
Hello sir, i have a problem
when i click on the delete admin , it takes me to a page where it says
Not Found
The requested URL was not found on this server.
Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.5 Server at localhost Port 80
can you help or or anyone?
Thank you!!
It might be the error on your DELETE path.
Please check that.
Check the URL on your Delete Button.
Also if needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
@@VijayThapa Thank you so much sir you are the best, the problem was just a "space" key lol
@@anonymous-sh9jc Hope you complete all the tutorials soon.
Best Wishes!
actually i am using sublime text ..evything is working fine except isset function ..message will not print whenever i add a admin or if i delete a admin .... i donno what is the problem .
It's not the error with your code editor.
You might have error either on setting the session or displaying the session.
Please watch the tutorial once again if needed and compare the code.
It might help you to find the error and fix it.
Best Wishes!
nice tutorial
Thank You So Much.
Hope you complete all the tutorials soon.
Thanks and Regards!
Sir, it is displaying the success message, but the action is not done. That is if i click delete admin, it shows admin deleted, but the data is still appearing on manageadmin page. Wat to do sir
Then check
1. Whether you’re getting admin id in delete page or not.
2. Check your SQL query
3. Check your if condition before redirecting to pages
Does it has a single = or double ==?
Best Wishes!
Sir, though I give one= or double= the data is getting inserted . And without even entering name and password , the data is getting saved into database displaying id.
I don't understand wer iam going wrong sir.
@@yogeshwariyogi3741 You should know the difference the between single = and double = and when to use them.
So data is saved, then what's your error?
Without adding username and password, the data is saved because we've not added any validations.
If you want to check and save the admin only when username and password is provided, then use if-else condition to check.
If username and password is not empty
then insert into database
else do not insert.
If you can't do that, then you can add HTML validation (required) on your text box on both username and password.
If you don't know about required attribute, read here
developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required
Best Wishes!
A1 tutorial series, but viewers be aware of securing against SQL injection and XXS attacks, the code shown did not account for it.
This is only good for beginners trying to learn concepts.
I've added some on bonus part.
Thank you.
Thank you sir its very very helping for me but its one problem that i have when i set session of delete its redirect to manage-admin.php but delete msg not display plzzzzzz plzzz plzzz sur help mee
First, try watching the tutorial once again and compare the code.
It might help you to find the error and fix it.
If you couldn't fix it, then email me at hi@vijaythapa.com with the screenshot of your error and code.
Thanks and Regards!
During the change password , when we are comparing the ID and password that time even if the user is present it will show user not found. How to solve this error
Please check whether you’ve encrypted password with MD5 while adding user or checking for login?
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
update admin page not redirecting to admin page after i click the update admin button. but full name and username being updated
Then please check your redirection code after updating successfully.
Also watch the tutorial once again and comparer the code. It might help you to find the error and fix it.
Best Wishes!
bro, i am having an issue if i am entering right username and password, it still shows me credentials not matched, plz help me.
if, you could guess where i might be writing code wronggg?
i have this similar assignment so, i need your reply in rush/urgently.
Please check for the following errors
1. Check your SQL query
2. Check whether your "if condition" to compare username and password in db is correct or not
3. Check your MD5 Encryption while adding the admin as well as on login.
Watching the tutorial once again and comparing the code might help you to find the error and fix it.
Best Wishes!
@@VijayThapa thanks for your reply! I will check my code once again and the areas you just mentioned & let u know if i was able to rectify my error. Although i have replayed your videos 100 time since Tuesday, but still i again recheck it, its been 2days and i am still stuck.
@@rajkr9 If you couldn't find the errors, then email me with screenshot of your code at hi@vijaythapa.com
@@VijayThapa sure, i will thankyou!😊
Hii, I am really enjoying this tutorial but when I am trying to compare the current password it doesn't getting the data from the database even if I am entering the correct admin password?
Can you please tell me the reason for it?
Sorry! I cannot tell any reason without looking at your code.
You might have error in your SQL query to get the credentials of current logged in user.
Or you forgot to encrypt the password with MD5 before comparing.
Thanks and Regards!
@@VijayThapa do we need to encrypt the password again while comparing?
@@shreyanshjain1429 While comparing new password with new password, you need to encrypt the new password but not the current password.
@@VijayThapa okay
tbl_admin is not present in engine like that showing sir what to do pls help
I didn’t get it.
Can you tell me more please?
@@VijayThapa Now it's working sir
Some error came in database so I asked sir
Thankyouuuu TT
You're welcome.
Hope the tutorials were helpful to you.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
When I create delete-admin and click on that buttom it shows page not found in server
Then you might either have error on
1. Your link to delete page or
2. on your Delete Page while deleting the admin and redirecting
Please check these places. If needed watch the tutorial once again and compare the code. It might help you to find the error and fix it.
Best Wishes!
Sir plz help me ...change password me apne redirect admin page a gya mere admin page kyu ni ara direct ...mine sab check krliya ..aise kyu ..
You may have error in your if-else statement.
Please check it once.
If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it.
If you couldn't fix, please send me an email at hhi@vijaythapa.com with the screenshot of your error and code.
Best Wishes!
Bro first we have to learn the basics about php and we want watch the course or we will learn through this course it self I have the confusion please reply bro?
If you have created any project with PHP with then you can start with this one.
But if you want to start with simpler one, then you can follow the course below first
ua-cam.com/video/1rl36zxqZZw/v-deo.html
And then follow this "Food Order Website" course.
Best Wishes!
Sir
Thanks for your tutorial.... Please am following your instruction in the your tutorial. but my Delete Admin is not deleting
please help me...
Please check your code once.
Check SQL Query also check whether the user_id is passed on DELETE button or not.
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
in my project same as this why step of update -password do not work?can you help me?
Please email me at hi@vijaythapa.com with the screenshot of your error and code.
Thanks and Regards!
sir i have one problem while connecting the database and errors is arising especially with the $conn
Please email me at hi@vijaythapa.com with the screenshot of your error and code.
Thanks and Regards!
@@VijayThapa thank you so much sir.. Sure I will
At 1:15:27 mine isn't working. Which part should I check to make this work? Is it my sql query? in my project i changed "id" to "adminID". And I type like this for $_GET=adminID , as well as $_POST=adminID but it doesn't work. Pls help Sir
And did you pass the value along with addminID in URL?
while getting the id, it should be
$id = $_GET['adminID'];
Please try this, if needed watch the tutorial once again and compare the code.
It might help you to find the errors and fix it.
Also if you find this course difficult, then I'dd recommend you to watch another simpler course (TASK Manager) first and watch this course later
Simple Course - ua-cam.com/video/1rl36zxqZZw/v-deo.html
Best Wishes!
@@VijayThapa still not working. It was all "User Not Found"
@@saralisa4399 That Means, you might not be getting userID.
Please check that.
@@VijayThapa thank you . I've solved it💖
Which software u used in your project?
For what purpose
If you mean code-editor, then it's "Visual Studio Code".
Thanks Bro.
You're welcome!
Hope you completed the tutorials and was helpful to you.
Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
hello sir, i am getting this error when i am trying to connect to the database. on minute 51:30
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\Online-Food-Supermarket\admin\add-admin.php:69 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Online-Food-Supermarket\admin\add-admin.php on line 69
use mysqli_connect();
If needed watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
Sir I didn't enter on delete page my delete and update button is not working ...how i solve this
Watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
@@VijayThapa Thanq sir ..i will
Thanks for the help, everything is working now. but when i try to add admin, two same entries are created for single admin, please help.
Did you mean you can add 2 different admins with same email and username?
If you mean this, then it's because we've not added validation while creating or updating the admin.
You can just check with if-else statement whether the same email/username exists or not, then add admin if not added before.
Else display the message.
Best Wishes!
My code running well.
Message admin deleated successfuly displayed
And refressed normally .
NOW PROBLEM IS,
My add admin not redirecting to the form .
How could help me now.
You may have error in your link, please check it once.
@@VijayThapa which link exactly
@@aitarufancy4365 You'll need to find out.
I can't tell without looking at your code.
Watch the tutorial once again and compare the code.
It might help you to find the errors and fix it.
Your are not replying my email
@@aitarufancy4365 When did you sent the mail?
in this code when i run it on browser
its showing"User not found" when i want's to change password. something wron in itt???
Is it on our website of XAMPP?
@@VijayThapa yes i am using xampp server. i having problem in change password page . when I enter a current passsword and after that i enter a new password and confirm the password the opassword redirect me on add admin page and show that the error user not found
@@44_siddheshparave71 Please email me at hi@vijaythapa.com with the screenshot of your error and code.
Thanks and Regards!
Hello Sir!
Actually the error for me is when we go to manage-admin.php page and click add admin button and fill admin details and add admin then it should redirect me to manage-admin.php and show admin added successfully but instead it is giving me the error of 404 page not found .... help me solve out the error!!
Then you might have error in redirecting URL.
Please check your redirection on successful "add-admin" and failed.
Best Wishes!
When i am adding admin then, we accepting blank data also in database... So please give me solution to restrict that blank data insertion
If you've learnt the basics of programming so far (like if-else), then it's time to test it.
Try checking whether you've got data from the form or not with if-else statement.
Like
If($username=="")
{ Error Message and Redirect. }
Or add simple HTML validation.
(Don't just copy and code, do some research and try your own logics and imaginations as well. Try to make the project better than what I've done.)
Best Wishes!
@@VijayThapa thanks sir i done this
Sir, can you help me, i watched this video at the start into the end of video.
How can I help you?
Please email me at hi@vijaythapa.com with the screenshot of your error and code.
Hello sir. I have an issue with redirecting here. It is not showing anything when I click the button.
else{
//User does not exist Set message and Redirect
$_SESSION['user-not-found'] = "div class='error'>User not found.";
//Redirect the User
header('location:'.SITEURL.'admin/manage-admin.php');
}
On session variable use _ “underscore” instead of - “minus or hyphen”
And I cannot give you any solution without looking the full code.
Where is this code from? Which page?
@@VijayThapa it is update-password page, when if the user does not exist, it should be redirected to manage-admin page
Sir, When i click on Delete Admin it shows the link in the bottom as u said ..bt wen it redirects to that page it says 404 Not found
Where is the ID in URL?
You've not passed the ID of admin you want to Delete.
Please Fix It.
@@VijayThapa
Can u please help me with this ..or send me the source code please ..it would be a great help if u do so
@@shradhashabbu7748 Email me at hi@vijaythapa.com
did u ever fix this, im getting the same issue but ive done everything the same way
sir i can chnage the password for only once ..in second time it shows the error message "user not found"..
Please check your Update Query.
You might have error there.
I cannot give you the solution without looking at your code.
So if you want to compare your code with mine, please email me at hi@vijaythapa.com
Thanks and Regards!
syntax error in $sql - file update-password, pls fix that old query
You might have SQL error.
Please check that.
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
Sir I added "delete-admin" url correctly on my code
it shows me error
The requested URL was not found on this server.
Apache/2.4.52 (Win64) OpenSSL/1.1.1m PHP/8.1.1 Server at localhost Port 80
Try watching the tutorial once again and compare the code.
or
Email me at hi@vijaythapa.com with the screenshot of your error and code.
Thanks and Regards!
I'm getting( User Not Found )for changing the password also though my current password is same and entering new and confirm passwords same .
Please help me with this sir
Did you fix this issue?
@@VijayThapa no sir I need help
@@vinilreddy1197 on Update Password Button Click,
Are you getting the ID of current User?
and did you encrypt "Current Password", "New Password" and "Confirm Password" with MD5?
Is your SQL Query Correct?
Please check all of these.
Watching the tutorial once again and comparing the code might help you to find the bug and fix it.
Best Wishes!
Is it necessary to use only Chinese colour palette ??
No.
Hello, I really enjoy this tutorial, I have a problem and I hope you have a solution that when I enter the password it allows me to enter the dashboard but when I apply the logout it does not allow me to enter the dashboard so what is the problem
That's correct, you need to login to enter the dashboard.
And logout takes you to login page and you can't enter dashboard.
That's it.
Do you have any other errors?
Sir redirect not working at else part in update page
Then please check the redirect link in your code.
If needed watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
Internal server error
When I add $SESSION to delete or update admin page to display in manage admin page ,why? 😁
I think it's $_SESSION instead of $SESSION
And you might have error in your SQL Query as well.
Please check those, If needed watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
Sir is anyone of the admins can change the password of others ???
Yes, they can for now.
If you don't want that, you can add either of the following
1. Remove Update and Delete Options, instead add "Update Profile" for logged in user only.
2. Add different roles. And give "Update/Delete" Permission to Super admin but not to normal admin.
Thanks and Regards!
hi sir, i want to delete my admin but it failed to delete. the message only says "Failed to Delete". I believe its because of my query. I dont know how to correct my query ---- $res = mysqli_query($conn, $sql); ---- fyi im using my own id number for my admin instead of 1, 2, 3 . How to fix this sir?
Check whether you're passing the id on Delete link or not.
Then check the query.
And also what's the data type for your custom ID?
If needed watch the tutorial once again and compare the code.
It might help you to find the errors and fix it.
And I also recommend you to learn basics of relational database and SQL queries.
Best Wishes!
the css doesnt work on the deleting success message please help
It might be due to temp or cache.
Try one of the following
1. Restart your browser.
2. Restart your PC
If none of the above works, then you might have some error in your HTML/CSS code, please follow the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
sir make your next project on movie website .. with the help of php and mysql .. and like laravel ajax , rest api etc
I'll try my best to make new courses as soon as possible.
Thank you so much for your suggestion.
I really appreciate it.
Thanks and Regards!
Hello sir. In this section when i am going to change password all the time it shows me 'User not found'.I watched this vedio several times but i didn’t able to find the error. Pls Sir Help me..
Please try once again.
Check whether you've encrypted password while adding the user, updating the user and login check or not.
Also if needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
If you couldn't, then email me at hi@vijaythapa.com
Best Wishes!
Yes sir i fixed it.Thank you so much sir.
@@sumaiyanoor9036 You're always Welcome! 🙏
please how did u solve this?
Hello! Mr. Vijay. Your Tutorial is excellent. But in the "update-password. php" page when I was trying to check If(isset($_POST['submit'] )) it is not responding. I watched your video many times but unfortunately I failed to understand why is it is happening. Please please guide me.
I cannot give you any solution without looking at your code.
Did you add input type="submit" for your button with name="submit"?
Please watch the tutorial once again and compare the code.
I got same error...and I checked input ..it is also right ..please give me some guidance for solving this error