Thank you so much. 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!
1:45 creating table display based on tbl_admin from phpmyadmin 3:20 add borders to table using css 4:00 testing with dummy data (displaying from html not database) 5:20 css - table full width 6:10 css - borders and row spacing 8:30 css - buttons for the admin actions 10:10 creating button to add admin 12:15 css - button primary 14:10 css - button secondary and button danger, buttons for admin action 18:40 applying the table to all other pages 20:55 creating a new page to add admin 21:25 linking add admin button to the page 22:00 warning - not the right way to link, but will create constants later 22:50 start coding add-admin page, include the menu and footer 26:00 creating form in add-admin, using a table inside the form 29:00 css - table 30% width 32:30 explaining the difference between input text and input password 32:50 add admin button in the form 35:20 explaining that the processing page will be within the add-admin page 35:45 plan out how php will process the form 37:00 php - isset() check if the submit button is clicked, 38:00 test if submit button is clicked 38:55 php - assigning values from form to a variable, $POST[] 41:20 test if values are being passed to php 42:00 php - creating sql statement, INSERT INTO tbl_admin INTO 45:00 test the values are passed to php 45:20 md5 encryption 46:50 php - execute query and save data into database 52:00 use plugin to fill for the form, test the connection 54:30 separating the constraints to a separate file 1:01:15 applying the constraints file into the menu 1:05:50 test the query again 1:08:50 the data successfully inserted! 1:09:25 php - SESSION 1:13:25 php - redirecting from add admin page to main admin page 1:17:55 php - displaying message but only once, unset() 1:21:00 php - add display message if add admin fails too 1:21:30 php - displaying all admins in the main admin page 1:31:50 php - fixing the id number if a user is deleted
man thanks a lot,your php tutorials has just made PHP simpler to me and I can't believe that now I am understanding this concepts because initially it seamed way too difficult
I'm really glad that the tutorials are helpful to you. 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. Hope you complete all the tutorials soon. Best Wishes!
Hi, Sir, this project was amazing & it helps me too much. I have create another 2 new projects by following your project. Your project description quality is very good. Thank you very much
That's Awesome 👏 ! I'm really glad that the course was helpful to you. If you want to share your project so that we can review it, then you can join our discord community from the link below discord.gg/CMqU3DJsF5 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 can you please help me I asked sir but there is no response till now, It's showing error in line 61 the expected 1 parameter 0given what should I do?
Thank you so much. I'm really glad that the course was helpful to you. Also if you think the course 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 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. Best Wishes!
I am truly impressed by the time and effort you invest in your videos. I don’t think I’ve come across any other video where the creator explains things so clearly and understandably. Hats off to you! May you achieve even greater success in life.
You’re welcome brother. And I’m really glad that the tutorials were helpful to you. If you also think they can be helpful to others, then please SHARE with your loved ones. It helps this channel to Grow and your friends can also lear Web development for FREE. Thanks and Regards!
@luishenriques2745 Adding User image is similar to adding-food or adding-category image and displaying is the same. And you can display the user image like you displayed the username. Best Wishes!
Glad you liked it! If the tutorials were helpful to you and can also be helpful to others, then please SHARE with your friends and family. It helps this channel to GROW and your loved ones can also learn Web Development for FREE. Thanks and Regards!
@@VijayThapa Thank you so much for this tutorial. Glad to find it. 1:06:39 can't run successfully. Getting an error " mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\... Etc." in line $res = mysqli_query($conn, $sql) or die(mysqli_error()) ; Can't figure out the error.. Kindly help me if you can. Again thank you so much for the clear explanation.
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!
Thank you for this amazing tutorial.) I'm at the time stamp 52:19 and I have encountered an error. When I refresh the page it says (Fatal error: Uncaught ArgumentCountError: mysqli_error() expects exactly 1 argument, 0..). How can i fix this problem?
@@VijayThapa When I make that change I get the following error: Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\food-order\admin\add-admin.php on line 73 Fatal error: Uncaught TypeError: mysqli_error(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\food-order\admin\add-admin.php:73 Stack trace: #0 C:\xampp\htdocs\food-order\admin\add-admin.php(73): mysqli_error(false) #1 {main} thrown in C:\xampp\htdocs\food-order\admin\add-admin.php on line 73
I'm really glad that you enjoyed the course. Hope it's 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!
Hi bro, this project was amazing for me, I learned so much in procedural programming. Can you please do this the same project in object programming and using PDO instead of MYSQLI, since it is mostly required for work ... Thanks in advance bro
Hi Aleksandar, Thank you so much for following the course. And I'm really glad that the tutorials were helpful to you. Also I'm planning to make a course with PHP OOP but due to some personal works, It's delayed. But it'll be published soon. Thanks and Regards!
@@VijayThapa Wow man, it would be amazing! The best way learning is trought such a real project. You are the best teacher! Thank you for all brother...
Thank you so much, Sir. Your tutorial is really helpful for beginners like me. If you don't mind, can I use this tutorial for my school project?? Thank you (sorry for my bad English 🙏)
I'm really glad that you enjoyed the course. And Please feel free to use it. Also if you think the tutorials can be helpful to others, then please SHARE with your family and friends. So that they can also learn Web Development for FREE. Thanks and Regards!
I'm really glad that you enjoyed the course. Thank you so much for following 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. Best Wishes!
Hi Sidra, Thank you so much for following the tutorials. And I’m really glad that you liked them. You’re comment means a lot to me. It really motivates me to make more tutorials. And please support me to grow this channel by sharing it with your loved ones. It will also help them to learn Software and Web Development for FREE. Best Wishes!
I'm really glad that the tutorials are helpful. 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!
once again this if and else not working. from 36:40 to 38:33. firstly after typing the codes i refreshed the add admin page and it did showed Button Not Clicked but after clicking on the Add Admin button it did not showed Button Clicked. the page remain as it is. please help.
The error is in your code, not in the tutorial. You might have missed 1. a FORM tag, or 2. a METHOD inside your form tag 3. an ACTION inside your form tag Please watch the tutorial carefully. If you're complete beginner to PHP, then I would recommend you to watch my previous tutorial first bit.ly/task-manager-php-mysql-course Thanks and Regards!
Thank you so much brother. 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. Thanks and Regards!
I'm really glad that you're enjoying the course. Hope you complete 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!
Hello sir.. At 6:00 as you have added tbl-full class in css.. The same way I did...but still the css is not applied to that table.. Can you please guide me regarding my problem
It might be due to temp or cache files. Try doing one of the following 1.Restart your browser 2. Restart your PC If neither works, then you might have error in your code. Please check it once. Best Wishes!
I'm really Glad that you enjoyed the course. And for sure, I'll be creating more advanced courses with PHP. Hope to see you there. Also if you think the tutorial could be helpful to you, 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 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!
It's so easy to lay out form elements with CSS, I don't see any value worth obfuscating the markup with tables. Personally, I find that laying out forms with CSS is than using tables at this point. You can make great-looking, accessible forms that are actually easier to work with than tables anyway. I've used that basic approach and ramped it up to some fairly complex, multi-column data entry forms too, no sweat.
Thank You so much for your suggestions and I really appreciate it. This course was completely for beginners and focused on PHP/MySQL. So I wanted it to make as easy as possible. If I wanted I could've used bootstrap to make it more beautiful. But for this time I chose programming over designing. And for sure, I'll be making more complex designs on new tutorials. Thanks and Regards!
Thank you so much @Arjun for following the course. Hope it's helpful to you. And yes I'm planning to create new advanced courses as well. Hope to see you in new course. Best Wishes!
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!
You're always welcome. Hope the course 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!
I'm really glad 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, 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 they could be helpful to others as well, then please SHARER 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!
It might be either due to cache or error in your css code. Try one of the following 1. Restart your Browser 2. Restart your PC if neither works, then you might have error in your code. Try comparing your code with mine. If needed, watch the tutorial once again. It might help you to find the error and fix it. Best Wishes!
I’m really glad that the tutorials were helpful to you. Thank you so much for following the course. Hope it’s helpful 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 the tutorials were helpful to you. And thank you so much for following till the end. 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!
Got the best video in the whole youtube which explains things in easy ways. Thank you so much for this video. Make more videos like this, we will keep learning from your sir.
Thank you so much. I'm really glad that the course is helpful to you. And for sure I'll try to create as more courses as possible. 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 course is for beginners, so I've only used core procedural PHP, MySQL, HTML and CSS. Not any other frameworks. I may create new advanced course using PHP OOP and Bootstrap as well. If you know the bootstrap, then you can use on this project as well. Thanks and Regards!
Sir at 1:08:40 i have error i type just like you but when i input data and add admin it shows error saying Fatal error : Uncaught Argumentcount error : mysqli_error.......... Please help me its urgent
Hello, Can I ask a question ? At 7:50 when I reload, it doesn't run like you did in the video. It looks like the admin.css file doesn't match the .php file. I did everything same as you did in first video. So please help me. Thank you so much.
I’m really glad that the tutorials were helpful to you. If you also think they can be helpful to others, then please SHARE with your loved ones. It helps this channel to Grow and your friends can also lear Web development for FREE. Thanks and Regards!
I’m really glad that the course is helpful to you. Hope you complete all the 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. Thank you so much for your love and support.
Thank you so much. Hope you completed all 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. Best Wishes!
Content is great but I request u to increase the size of the window during writting .... It becomes very difficult to see the small words properly ....👍
Welcome 🤗 sir But sir 41.12 POST isset function is not working in my pc .... As well as during if else loop also its only showing else condition ie button is not clicked ... Doesn't matter I clicked the submit button or not ... It showing same message.... Plz help me ... As well as it also doesn't showing username , password .. below footer tag .. as showing in ur window
Thank you so much. Hope completed all the tutorials and 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!
I'm really glad that you enjoyed the tutorials. Hope you completed 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!
First of all thank you very much for this lesson. Now 24:00, when I put inside of the add-admin.php and reload page I get list, and my css is "lost" in that case. Can't figure out why?
7:30 at this place ,the changes in css is not reflecting in the website....plz tell what can be the problem(i have done same as you have done)it seems that the css is not linked with php file. plz help🙏🙏🙏🙏🙏🙏
It might be due to temp or cache file. Try the following 1. Restart the browser 2. Restart the PC If neither works, then you might have error in your code. So, watch the tutorial once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
Thank you so much for the thorough explanations and examples! My friend and I are using this project as a reference for our own PHP project. I personally got stuck on an error regarding the line $res = mysqli_query($conn,$sql) or die(mysqli_error($conn)); in add-admin. The error looks like Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''' at line 4 in C:\xampp\htdocs\FoodProject\admin\add-admin.php:79 Stack trace: #0 C:\xampp\htdocs\FoodProject\admin\add-admin.php(79): mysqli_query(Object(mysqli), 'INSERT INTO tbl...') #1 {main} thrown in C:\xampp\htdocs\FoodProject\admin\add-admin.php on line 79. Do you have any advice on how we can fix this? Any input would be very appreciated.
You might have error in your SQL Query. Please check that once. 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!
I'm really glad that you enjoyed the tutorials. Hope they're 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 Vijay, I really enjoy working through your course, but I've a problem at 38:24 when trying to proof the function of the "Add Admin" button. Although the code is the same as yours, I can't get shown "Button not clicked" or "Button clicked" even when I refresh and clear the cache totally. Do you have any suggestion what could be wrong? I'm using wamp with php 8.2.10 Any help would be welcome. Thanks in advance Franz-Georg
Please check your form and look whether "action", "method" and "submit" is set or not. Also check your "if-else" statement. If needed, watch the tutorial once again and compare the code. It might help you to find the error and fix it. But if you couldn't fix it, then email me at hi@vijaythapa.com with the screenshot of your code. Thanks and Regards!
I will try my best to make more courses on Web Development soon. Thank you so much for following my videos and I'm really glad to know that you enjoyed the course. Also if you think the tutorials can be helpful to others, then please SHARE. It helps this channel to GROW and your loved ones also can learn Web Development for FREE. Thanks and Regards!
thanks for the video. sir i am having problem concerning the value of the input field when tested if the form is working. it doesnt show value and it doesnt shows botton clicked... it keeps showing button not clicked i am a beginer and will be happy to receive any help. thanks
You might have error in your if-else condition. Please check that. And if you're complete beginner, then I recommend you to follow the another (Task Manager App) first, ua-cam.com/video/1rl36zxqZZw/v-deo.html Thanks and Regards!
Glad you like it! And 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, sir, i have an error at min 1:08:53, it says "Fatal error: Uncaught Error: Call to undefined function msqli_query() in C:\xampp\htdocs\food-order\admin\add-admin.php:71 Stack trace: #0 {main} thrown in C:\xampp\htdocs\car-order\admin\add-admin.php on line 71" and i tried to see if mysqli was commented on apache, but it wasnt and i don't know what else can i try to solve it
You missed "y" in your code. It should be ✅ mysqli_query(); Not ❌ msqli_query(); Please check your code once. Best Wishes, Hope you complete all the tutorials soon.
Most welcome 😊 And I'm really glad that the tutorials are really helpful to you. It'd support this channel to grow if you SHARE with your friends and they can also learn Software/Web Development for FREE. Thanks and Regards!
Hi each time I write this "$res = mysqli_query($conn, $sql) or die(mysqli_error());" in add-admin.php it throws the error "Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\htdocs\food-order\admin\add-admin.php on line 81".can you please help me?
I'm really glad that you enjoyed the tutorials. 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! Best Wishes!
vijaty blls help me i have problem in this variable $res 1:06:38 and this eror i got>>> You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''e30d8f9d418c425bf179f0804a14076a' at line 4
this is eror show to me when i put this $res= mysqli_query($conn, $sqli) or die(mysqli_error($conn)); but when i but this with out the varibale $conn inside th eror this waht i got >>>> Fatal error: Uncaught ArgumentCountError: mysqli_error() expects exactly 1 argument, 0 given in C:\Users\MOAATH\Desktop\oomar\htdocs\dashboard\order\admin\add-admin.php:100 Stack trace: #0 C:\Users\MOAATH\Desktop\oomar\htdocs\dashboard\order\admin\add-admin.php(100): mysqli_error() #1 {main} thrown in C:\Users\MOAATH\Desktop\oomar\htdocs\dashboard\order\admin\add-admin.php on line 100
You might have error in your sql query. Please watch the tutorial once again and comparer the code (check SQL Query). If might help you to find the bug and fix it. Thanks and Regards!
It might be due to cache or temp file. Try doing one of the following 1. Restart your Browser. 2. Restart your PC. If neither of the above fix the problem, then you might have some error in your code. Try watching the tutorial once again and compare the code. It might help you to find the error and fix it. Best Wishes!
hello sir, i just want to thank you first of all for producing this comprehensive course. it provides so much value for so many people. i am current facing an issue with the admin css file, if i put the table css in that file it will not apply the styling to the manage admin page. to resolve this i have to add the style components in the partials/menu file. do you have a clue to why this is happening? PS. I noticed this is only problem when i open the page using microsoft edge, it is not problem when i open the page with firefox
1:16:51 I ran the code, everything checks up, but i have a fatal eror... "Fatal error: Uncaught Error: Call to undefined function sesion_start()" I added sesion_start(); I googled for fixes, most of the answers mention "include", but the manage-admin has included menu, whitch has the constants included... Im stuck...
As long as you follow the tutorials sequentially (from the beginning), it should work perfectly. If needed, watch the tutorials once again and compare the code. It might help you to find the error and fix it. Best Wishes!
@@VijayThapa yes sir thank you so much.. it's resolved 1:27:42 m getting error in line : $count = mysqli_num_rows($res); Error is: Expected type 'mysqli_result'. Found 'true'.
Thank You So Much. I'm really glad that you enjoyed 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!
Thank you so much for following the tutorial. Hope they're 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!
You're always welcome brother. Hope you enjoyed 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!
Sir part 1:30:03 when I excuted it show me error Parse error : syntax error, un expected taken "," in C:\xampp\htdocs\food_order\admin\manage _admin.php on line 42
You're welcome. I'm really glad that you enjoyed 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!
It might be due to temp or cache file. Try doing one of the following 1. Restart your browser 2. Restart your PC if nothing works, then you might have error in your HTML/CSS. Thanks and Regards!
Thank you so much, I'm really glad that you enjoyed the tutorials. Hope you complete all 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!
Thank You So Much. Hope you completed all 13 tutorials and 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!
" Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\First\wowFood\admin\partials\footer.php:1) in C:\xampp\htdocs\First\wowFood\admin\add-admin.php on line 60 " How to fix it ?
To fix this error, add the following code at the top of "constants.php" file ob_start(); If you want to learn more about the error and code, then please follow the link below www.vijaythapa.com.np/2021/08/how-to-fix-headers-already-sent-error.html Thanks and Regards!
Thank you so much for following the tutorials. You can get the job done with just PHP. But learning Laravel will be helpful on making large applications where you need to work with others developers as well. It is also constantly updated and maintained by open source developers for FREE as well. So, in the beginning to learn core functionality of code, I recommend you to learn core PHP and later learn at least 1 framework. Thanks and Regards!
1:08:25 why my database from localhost. can't connect? but theirs no error. ( only didn't not connect ) :( after i put $res = mysqli_query($conn, $sql) or die(mysqli_error()); and if($res==TRUE) . i watch this video many times. :( please help me
You might have error in including "constants.php" at menu.php file. Try using "require" instead of "include". If you've added the constants.php correctly, then you'll see the web page and not get any error. But if you don't see the webpage, then you've error in adding constants.php, You'll have to watch the video on including "constants.php" file correctly. Hope you'll find the bug and fix it. Best Wishes!
in the time stamp of 29:39 When I try to run my code andtry to input some text in the input field, it always return in the order page. How can I input Name, username and password here. By the such a great tutorial
Please check the form tag of that Add Admin Page. And then the code to insert the data. You might have error there. Also if needed, watch the tutorials once again and compare the code. It might help you to find the error and fix it. Thanks and Regards!
@@VijayThapa Warning: include(../partials/menu.php): failed to open stream: No such file or directory in C:\xampp\htdocs\food-order\admin\partials\menu.php on line 1 Warning: include(): Failed opening '../partials/menu.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\food-order\admin\partials\menu.php on line 1 Home Admin Category Food Order
Thanks alot,its really helpful for me.. When i am executing the query and save data in data base as u done in this video it doesn't show any error like yours why?
You might have error in your if-else condition. Please check there. 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!
I really appreciate the fact that you take the time to write comments in your code explaining what you're doing.
Thank you so much.
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!
@@VijayThapa can you please help I need some help regarding this project.
Honestly
1:45 creating table display based on tbl_admin from phpmyadmin
3:20 add borders to table using css
4:00 testing with dummy data (displaying from html not database)
5:20 css - table full width
6:10 css - borders and row spacing
8:30 css - buttons for the admin actions
10:10 creating button to add admin
12:15 css - button primary
14:10 css - button secondary and button danger, buttons for admin action
18:40 applying the table to all other pages
20:55 creating a new page to add admin
21:25 linking add admin button to the page
22:00 warning - not the right way to link, but will create constants later
22:50 start coding add-admin page, include the menu and footer
26:00 creating form in add-admin, using a table inside the form
29:00 css - table 30% width
32:30 explaining the difference between input text and input password
32:50 add admin button in the form
35:20 explaining that the processing page will be within the add-admin page
35:45 plan out how php will process the form
37:00 php - isset() check if the submit button is clicked,
38:00 test if submit button is clicked
38:55 php - assigning values from form to a variable, $POST[]
41:20 test if values are being passed to php
42:00 php - creating sql statement, INSERT INTO tbl_admin INTO
45:00 test the values are passed to php
45:20 md5 encryption
46:50 php - execute query and save data into database
52:00 use plugin to fill for the form, test the connection
54:30 separating the constraints to a separate file
1:01:15 applying the constraints file into the menu
1:05:50 test the query again
1:08:50 the data successfully inserted!
1:09:25 php - SESSION
1:13:25 php - redirecting from add admin page to main admin page
1:17:55 php - displaying message but only once, unset()
1:21:00 php - add display message if add admin fails too
1:21:30 php - displaying all admins in the main admin page
1:31:50 php - fixing the id number if a user is deleted
can you please help (share your mail id) I need some help regarding this project.
where is the connection part that connects the database?
If you have problem at min 6 with "tbl-full" width, delete cache on your browser. For me it worked. Thank you mr. for this tutorial!
Awesome 👏
Best Wishes!
Thnk u so muchhhhh by heart ❤️
Man its so rare to find a developer that gives out free source code out there. Thanks a lot. stay blessed!
Thank you so much.
Hope you enjoyed the course.
Where is source code ??
Please tell Mee
man thanks a lot,your php tutorials has just made PHP simpler to me and I can't believe that now I am understanding this concepts because initially it seamed way too difficult
I'm really glad that the tutorials are helpful to you.
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.
Hope you complete all the tutorials soon.
Best Wishes!
i'm from ethiopia. you are my best hero and i follow all your lesson. thank you
I'm really glad that the course was helpful to you.
Thanks and Regards!
Master .for me your the best teacher with easy steps in teaching for beginners in php projects. Thank u in all.
You are very welcome.
And I really appreciate your love and support.
😊
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Hi,
Sir, this project was amazing & it helps me too much. I have create another 2 new projects by following your project. Your project description quality is very good.
Thank you very much
That's Awesome 👏 !
I'm really glad that the course was helpful to you.
If you want to share your project so that we can review it, then you can join our discord community from the link below
discord.gg/CMqU3DJsF5
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 can you please help me I asked sir but there is no response till now, It's showing error in line 61 the expected 1 parameter 0given what should I do?
he creates a positive and enganging learning envronment where everyone feels valued
I'm really glad that you enjoyed the course.
I learn so much here. Thank you sir for your effort. Wish you best in life for helping so many people here.
Hi @Nizam Jensani,
I'm really glad that you found these tutorials helpful.
Thank you so much for your love and support.
Best Wishes!
You are the best i have ever came across in last one year, I would definitely love to buy you coffee if i ever become a web developer XD
Thank you so much.
I'm really glad that the course was helpful to you.
Also if you think the course 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!
Best tutor out here ,, I really enjoyed the content successfully delivered you didn't hold anything back. Thanks a million Sir.
I'm really glad that the tutorials were helpful to you.
Hope you completed all 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.
Best Wishes!
@@VijayThapa i however had an error on database connection , if you could assist
@@TheVicArtz Watch tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
I am truly impressed by the time and effort you invest in your videos. I don’t think I’ve come across any other video where the creator explains things so clearly and understandably. Hats off to you! May you achieve even greater success in life.
I'm really glad that you're enjoying the course.
Hope you complete all the tutorials soon.
Best Wishes!
will watch again on weekend and will do it on my laptop.
Sure Brother.
Thank You So Much. And let me know if you enjoy the video or have any suggestion/question for me.
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
one of the best teachers....
Thank you so much.
I'm really glad that the course was helpful to you.
Your videos are a lifesaver , great work buddy , thank you so much
You’re welcome brother.
And I’m really glad that the tutorials were helpful to you.
If you also think they can be helpful to others, then please SHARE with your loved ones.
It helps this channel to Grow and your friends can also lear Web development for FREE.
Thanks and Regards!
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
uko gudi mzee baba, am moderate in coding industry but for this mambo i will be a prof.
Hope this course is helpful to you.
Best Wishes!
@luishenriques2745 It's similar to displaying foods, categories and orders.
Did you complete all the tutorials first?
@luishenriques2745 Adding User image is similar to adding-food or adding-category image and displaying is the same.
And you can display the user image like you displayed the username.
Best Wishes!
This is gold,man. Thank you very much !
Glad you liked it!
If the tutorials were helpful to you and can also be helpful to others, then please SHARE with your friends and family.
It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
Thanks and Regards!
@@VijayThapa Thank you so much for this tutorial. Glad to find it. 1:06:39 can't run successfully. Getting an error
" mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\... Etc."
in line
$res = mysqli_query($conn, $sql) or die(mysqli_error()) ;
Can't figure out the error.. Kindly help me if you can. Again thank you so much for the clear explanation.
@@aswathyanair767 Try passing $conn inside mysqli_error.
Like mysqli_error($conn);
Best Wishes!
@@aswathyanair767 Please email me at hi@vijaythapa.com, It's difficult to see the image in social media chats.
@@VijayThapa Thank you
Just want to say thanks a lot. I learned a lot from this. Really amazing guide
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 you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Thank you for this amazing tutorial.) I'm at the time stamp 52:19 and I have encountered an error. When I refresh the page it says (Fatal error: Uncaught ArgumentCountError: mysqli_error() expects exactly 1 argument, 0..). How can i fix this problem?
Hi there,
try passing $conn inside mysqli_error();
like
mysqli_error($conn);
Best Wishes!
@@VijayThapa When I make that change I get the following error:
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\food-order\admin\add-admin.php on line 73
Fatal error: Uncaught TypeError: mysqli_error(): Argument #1 ($mysql) must be of type mysqli, bool given in C:\xampp\htdocs\food-order\admin\add-admin.php:73 Stack trace: #0 C:\xampp\htdocs\food-order\admin\add-admin.php(73): mysqli_error(false) #1 {main} thrown in C:\xampp\htdocs\food-order\admin\add-admin.php on line 73
@Bas JethroHello, thank you so much. It worked
@@VijayThapa i had the same problem and did that but no change, the error still persist
@@rutendomhungu1291 Email me at hi@vijaythapa.com with the screenshot of your error and code.
Thanks and Regards!
Your teaching is next level 👍
I'm really glad that you enjoyed the course.
Hope it's 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!
Hi bro, this project was amazing for me, I learned so much in procedural programming. Can you please do this the same project in object programming and using PDO instead of MYSQLI, since it is mostly required for work ... Thanks in advance bro
Hi Aleksandar,
Thank you so much for following the course.
And I'm really glad that the tutorials were helpful to you.
Also I'm planning to make a course with PHP OOP but due to some personal works, It's delayed.
But it'll be published soon.
Thanks and Regards!
@@VijayThapa Wow man, it would be amazing! The best way learning is trought such a real project. You are the best teacher! Thank you for all brother...
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Thank you for your guidance sir.
We have learnt many new techniques from your tutorial.
I'm really glad that the course was helpful to you.
Best Wishes for Future Endeavors.
@@VijayThapa thank you so much sir
Thank you so much, Sir. Your tutorial is really helpful for beginners like me. If you don't mind, can I use this tutorial for my school project?? Thank you (sorry for my bad English 🙏)
I'm really glad that you enjoyed the course. And Please feel free to use it.
Also if you think the tutorials can be helpful to others, then please SHARE with your family and friends.
So that they can also learn Web Development for FREE.
Thanks and Regards!
@@VijayThapa I will share your videos to my friends, Thank you so much
Sir can we use these source code for clients
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
I just fall in love how you teach us...
I'm really glad that you enjoyed the course.
Thank you so much for following 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.
Best Wishes!
Hi sir, your videos are amazing and its very easy to learn please don't stop you are an amazing teacher .
Hi Sidra,
Thank you so much for following the tutorials.
And I’m really glad that you liked them.
You’re comment means a lot to me. It really motivates me to make more tutorials.
And please support me to grow this channel by sharing it with your loved ones.
It will also help them to learn Software and Web Development for FREE.
Best Wishes!
@@VijayThapa yes sure I'll definitely share with my friends :)
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Thanks a lot Vijay Thapa for the feedbacks, really helped a lot.
You the best.
I'm really glad that the tutorials are helpful.
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!
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
once again this if and else not working. from 36:40 to 38:33. firstly after typing the codes i refreshed the add admin page and it did showed Button Not Clicked but after clicking on the Add Admin button it did not showed Button Clicked. the page remain as it is. please help.
The error is in your code, not in the tutorial.
You might have missed
1. a FORM tag, or
2. a METHOD inside your form tag
3. an ACTION inside your form tag
Please watch the tutorial carefully.
If you're complete beginner to PHP, then I would recommend you to watch my previous tutorial first
bit.ly/task-manager-php-mysql-course
Thanks and Regards!
I faced the same problem. Now it is fixed. Thanks V.T sir
thank you Vijay for the great work . i appreciate your effort to provide such a high quality courses.
Thank you so much brother.
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.
Thanks and Regards!
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Sir at 5:50 I added the correct css name inside my still I see no changes on my website
I am facing the same issue. DId u resolve it?
instead of writing this code at head tag write this instead :
@@pawansigdel5578 Thanks.. :)
@@pawansigdel5578even After doing this I seen no changes in my website
the best PHP tutorial, it helps me a lot!
I'm really glad that you're enjoying the course.
Hope you complete 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!
Hello sir.. At 6:00 as you have added tbl-full class in css.. The same way I did...but still the css is not applied to that table.. Can you please guide me regarding my problem
clear cache
It might be due to temp or cache files.
Try doing one of the following
1.Restart your browser
2. Restart your PC
If neither works, then you might have error in your code.
Please check it once.
Best Wishes!
Thank you very much for learning in php and mysql I need more knowledge about programming in website..
I'm really Glad that you enjoyed the course.
And for sure, I'll be creating more advanced courses with PHP. Hope to see you there.
Also if you think the tutorial could be helpful to you, 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 tutorial really helped me thanks
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.
Thanks and Regards!
Thank u so much for this course
Love from Uttar Pradesh (India)
Thank you so much for following the course.
And I'm really glad that you enjoyed them.
It's so easy to lay out form elements with CSS, I don't see any value worth obfuscating the markup with tables. Personally, I find that laying out forms with CSS is than using tables at this point. You can make great-looking, accessible forms that are actually easier to work with than tables anyway. I've used that basic approach and ramped it up to some fairly complex, multi-column data entry forms too, no sweat.
Thank You so much for your suggestions and I really appreciate it.
This course was completely for beginners and focused on PHP/MySQL. So I wanted it to make as easy as possible.
If I wanted I could've used bootstrap to make it more beautiful.
But for this time I chose programming over designing.
And for sure, I'll be making more complex designs on new tutorials.
Thanks and Regards!
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
thankyou so much sir ...sir can u bring more series like this...that could be of great help.
Thank you so much @Arjun for following the course. Hope it's helpful to you.
And yes I'm planning to create new advanced courses as well.
Hope to see you in new course.
Best Wishes!
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
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!
Brilliant. Thank you so much.
You're always welcome.
Hope the course 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!
That's really great tutorial, I using your tutorial to create my project website, it was very helpful
I'm really glad 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, 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 don't understand any of the dom frontend stuff but this is somehow understandable.You'll make a great instructor!
I'm really glad that the tutorials were helpful to you.
Thank You So Much for following the tutorials.
Also if you think they could be helpful to others as well, then please SHARER 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 you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Sir in admin.css...me create a tbl-full..style...while adding it in manage-admin.php...in table i.e...its isn't applying while running the code..
It might be either due to cache or error in your css code.
Try one of the following
1. Restart your Browser
2. Restart your PC
if neither works, then you might have error in your code.
Try comparing your code with mine. If needed, watch the tutorial once again.
It might help you to find the error and fix it.
Best Wishes!
Same
This project was amazing thank you so much sir
I’m really glad that the tutorials were helpful to you.
Thank you so much for following the course.
Hope it’s helpful 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!
One of the best teachers I have ever seen !! Thank you for your great contribution !!
I'm really glad that the tutorials were helpful to you.
And thank you so much for following till the end.
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 you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Got the best video in the whole youtube which explains things in easy ways. Thank you so much for this video. Make more videos like this, we will keep learning from your sir.
Thank you so much. I'm really glad that the course is helpful to you.
And for sure I'll try to create as more courses as possible.
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 you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
hello sirthe project was absolutely fantastic, i follows the all guidline but at the time of data it can be working
Can you explain more clearly please?
why you are use bootstrap for create forms ??
This course is for beginners, so I've only used core procedural PHP, MySQL, HTML and CSS.
Not any other frameworks.
I may create new advanced course using PHP OOP and Bootstrap as well.
If you know the bootstrap, then you can use on this project as well.
Thanks and Regards!
@@VijayThapa Ok, thank you Vijay for everything. your channel it's the better
@@خطوةتقنية-خ3ث Thank You So Much 🙏😊
if your css is not working in 5:28 or in partials use this
Awesome!
Sir at 1:08:40 i have error i type just like you but when i input data and add admin it shows error saying Fatal error : Uncaught Argumentcount error : mysqli_error.......... Please help me its urgent
Can you explain the detail error with complete error message?
Ok it works fine now i make a mistake in spelling i put full-name by mistake it must be underscore. Thanks
Hello, Can I ask a question ? At 7:50 when I reload, it doesn't run like you did in the video. It looks like the admin.css file doesn't match the .php file. I did everything same as you did in first video. So please help me. Thank you so much.
It might be due to temp or cache file.
Try doing one of the following
1. Restart your browser or
2. Restart your PC
Thanks and Regards!
@@VijayThapa Thank you so much, I will do like you say.
same :(
Very useful content. I have a lot from your tutorials. Thank you.
I’m really glad that the tutorials were helpful to you.
If you also think they can be helpful to others, then please SHARE with your loved ones.
It helps this channel to Grow and your friends can also lear Web development for FREE.
Thanks and Regards!
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Very nice . Thanks
You're welcome.
Hope you completed all the tutorials and was helpful to you.
Thanks and Regards!
better than my teachers
I’m really glad that the course is helpful to you.
Hope you complete all the 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.
Thank you so much for your love and support.
very great course
Thank you so much.
Hope you completed all 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.
Best Wishes!
Content is great but I request u to increase the size of the window during writting .... It becomes very difficult to see the small words properly ....👍
Ok next time.
And Thank you so much for following the course.
I'm really glad that you enjoyed the tutorials.
Welcome 🤗 sir
But sir 41.12 POST isset function is not working in my pc .... As well as during if else loop also its only showing else condition ie button is not clicked ... Doesn't matter I clicked the submit button or not ... It showing same message.... Plz help me ... As well as it also doesn't showing username , password .. below footer tag .. as showing in ur window
@@moviesbuddy4228 Email me at hi@vijaythapa.com with the screenshot of your error and code.
Thanks and Regards!
nice one on youtube
Thank you so much.
Hope you're enjoying the course.
Best Wishes!
god bless you for this great job
Thank you so much.
Hope completed all the tutorials and 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!
Well explained with clear manner thanks :)👌
I'm really glad that you enjoyed the tutorials.
Hope you completed 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!
First of all thank you very much for this lesson. Now 24:00, when I put inside of the add-admin.php and reload page I get list, and my css is "lost" in that case. Can't figure out why?
It might be because, your header is not linked correctly.
You might need to alter the code to link the css.
@@VijayThapa Thank you I'll redo, I had problem with header, it was always present on the page, top left, not in ur like yours.
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
7:30 at this place ,the changes in css is not reflecting in the website....plz tell what can be the problem(i have done same as you have done)it seems that the css is not linked with php file. plz help🙏🙏🙏🙏🙏🙏
It might be due to temp or cache file.
Try the following
1. Restart the browser
2. Restart the PC
If neither works, then you might have error in your code.
So, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
@@VijayThapa Thanks a lot ....My problem got solved ...and Ready to go ahead 🙂🙂🙂
@@amolbaviskar9588 That's Awesome.
Best Wishes!
This is due to css overriding , U were talking about 7:30 so I will consider about table , so just write body .tbl
Thank you so much for the thorough explanations and examples! My friend and I are using this project as a reference for our own PHP project. I personally got stuck on an error regarding the line $res = mysqli_query($conn,$sql) or die(mysqli_error($conn)); in add-admin. The error looks like Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''' at line 4 in C:\xampp\htdocs\FoodProject\admin\add-admin.php:79 Stack trace: #0 C:\xampp\htdocs\FoodProject\admin\add-admin.php(79): mysqli_query(Object(mysqli), 'INSERT INTO tbl...') #1 {main} thrown in C:\xampp\htdocs\FoodProject\admin\add-admin.php on line 79. Do you have any advice on how we can fix this? Any input would be very appreciated.
You might have error in your SQL Query.
Please check that once.
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!
Did you ever find a solution. I have rewatched that part of the video over and over again and is still trying to post to the add-admin page
Same problem can someone help me?
@@Valcano96did you find the solution?
muje bi same problem aarhi hai is step mai kya apki solve ho gyi problm muje bhi btana
Hello Sir superb video tutorials thank you 👍🙏
I'm really glad that you enjoyed the tutorials.
Hope they're 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 sir.... for your explanation ❤🎉
Always Welcome!
Hope you completed all the tutorials and was helpful to you.
Best Wishes!
Hello Vijay,
I really enjoy working through your course, but I've a problem at 38:24 when trying to proof the function of the "Add Admin" button.
Although the code is the same as yours, I can't get shown "Button not clicked" or "Button clicked" even when I refresh and clear the cache totally.
Do you have any suggestion what could be wrong?
I'm using wamp with php 8.2.10
Any help would be welcome.
Thanks in advance
Franz-Georg
Please check your form and look whether "action", "method" and "submit" is set or not.
Also check your "if-else" statement.
If needed, watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
But if you couldn't fix it, then email me at hi@vijaythapa.com with the screenshot of your code.
Thanks and Regards!
Thank You Thank You so much itna accha video banane k liye plz make some more wesite and app tutorial 🙏
I will try my best to make more courses on Web Development soon.
Thank you so much for following my videos and I'm really glad to know that you enjoyed the course.
Also if you think the tutorials can be helpful to others, then please SHARE.
It helps this channel to GROW and your loved ones also can learn Web Development for FREE.
Thanks and Regards!
thanks for the video. sir i am having problem concerning the value of the input field when tested if the form is working. it doesnt show value and it doesnt shows botton clicked... it keeps showing button not clicked
i am a beginer and will be happy to receive any help. thanks
You might have error in your if-else condition.
Please check that.
And if you're complete beginner, then I recommend you to follow the another (Task Manager App) first,
ua-cam.com/video/1rl36zxqZZw/v-deo.html
Thanks and Regards!
Thank you so much man for this beautiful project...
Glad you like it!
And 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!
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
thanks, sir, i have an error at min 1:08:53, it says "Fatal error: Uncaught Error: Call to undefined function msqli_query() in C:\xampp\htdocs\food-order\admin\add-admin.php:71 Stack trace: #0 {main} thrown in C:\xampp\htdocs\car-order\admin\add-admin.php on line 71" and i tried to see if mysqli was commented on apache, but it wasnt and i don't know what else can i try to solve it
You missed "y" in your code.
It should be ✅ mysqli_query();
Not ❌ msqli_query();
Please check your code once.
Best Wishes, Hope you complete all the tutorials soon.
i love this tutorial
Thank you so much.
Hope you complete all the tutorials of this course soon.
😊👏
Best Wishes!
53:24 part is not working can you help?
still displaying error(unknown database 'food-order') eventhough i created database and tables just like yours
Send me the screenshot of your error and code at hi@vijaythapa.com
amazing tutorial sir
Thank you so much.
I'm really glad that the tutorials are helpful to you.
Best Wishes!
Thank you sir...this is realy helpfull for my project..👌👌
Most welcome 😊
And I'm really glad that the tutorials are really helpful to you.
It'd support this channel to grow if you SHARE with your friends and they can also learn Software/Web Development for FREE.
Thanks and Regards!
@@VijayThapa already shared..😉
@@smarttechpro5407 Thank You So Much Brother!
Hi each time I write this "$res = mysqli_query($conn, $sql) or die(mysqli_error());" in add-admin.php it throws the error "Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\htdocs\food-order\admin\add-admin.php on line 81".can you please help me?
Try passing $conn inside mysqli_error().
like
mysqli_error($conn);
@@VijayThapa This worked for me - Thanks
I am enjoyed,
Regards from GAZA💛
I'm really glad that you enjoyed the tutorials.
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!
Best Wishes!
@@VijayThapa
Yes, I completed all the tutorials then I shared the channel
vijaty blls help me i have problem in this variable $res 1:06:38 and this eror i got>>>
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''e30d8f9d418c425bf179f0804a14076a' at line 4
this is eror show to me when i put this $res= mysqli_query($conn, $sqli) or die(mysqli_error($conn));
but when i but this with out the varibale $conn inside th eror this waht i got >>>>
Fatal error: Uncaught ArgumentCountError: mysqli_error() expects exactly 1 argument, 0 given in C:\Users\MOAATH\Desktop\oomar\htdocs\dashboard\order\admin\add-admin.php:100 Stack trace: #0 C:\Users\MOAATH\Desktop\oomar\htdocs\dashboard\order\admin\add-admin.php(100): mysqli_error() #1 {main} thrown in C:\Users\MOAATH\Desktop\oomar\htdocs\dashboard\order\admin\add-admin.php on line 100
You might have error in your sql query.
Please watch the tutorial once again and comparer the code (check SQL Query).
If might help you to find the bug and fix it.
Thanks and Regards!
Thank you. I have copied everything, but the connection to the database still does not work, and the error message 52:52 does not appear
Please watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
At 5:50 : sir after adding width to the table , there is no change in my table ? Why is this happening ? Any solution?
It might be due to cache or temp file.
Try doing one of the following
1. Restart your Browser.
2. Restart your PC.
If neither of the above fix the problem, then you might have some error in your code.
Try watching the tutorial once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
@@VijayThapa thankyou sir after deleting my cache it was fixed :-)
very helpful, thank you very much sir
I’m really glad that the course was helpful to you.
Hope you completed all the tutorials.
Thanks and Regards!
hello sir, i just want to thank you first of all for producing this comprehensive course. it provides so much value for so many people.
i am current facing an issue with the admin css file, if i put the table css in that file it will not apply the styling to the manage admin page. to resolve this i have to add the style components in the partials/menu file.
do you have a clue to why this is happening?
PS. I noticed this is only problem when i open the page using microsoft edge, it is not problem when i open the page with firefox
Yes, you need to include the css on menu.php since all pages include menu.
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
Same issuing I'm facing...kindly guide sir
1:16:51 I ran the code, everything checks up, but i have a fatal eror...
"Fatal error: Uncaught Error: Call to undefined function sesion_start()"
I added sesion_start();
I googled for fixes, most of the answers mention "include", but the manage-admin has included menu, whitch has the constants included...
Im stuck...
Maybe it's up to mu laptop, i will try it on my PC, hope that solves my problem :|
As long as you follow the tutorials sequentially (from the beginning), it should work perfectly.
If needed, watch the tutorials once again and compare the code.
It might help you to find the error and fix it.
Best Wishes!
At 1:00:07
In constants.php line 4 'localhost' is making an error how do I fix this?
Please watch the tutorial once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
51:19
sir m getting error in database connectivity at line : mysqli_error()
error is: expecting arguments in error() function..!!!help me out pls.!!!
Try passing $conn inside mysqli_error().
Like
mysqli_error($conn);
Hope it solves.
Best Wishes!
@@VijayThapa yes sir thank you so much.. it's resolved
1:27:42
m getting error in line : $count = mysqli_num_rows($res);
Error is:
Expected type 'mysqli_result'. Found 'true'.
@@Riya-ls1kv Please continue the tutorial.
There, check your if statement
It should be if $res==True
Instead of $res=True
Thanks and Regards!
thanks my friend !it was great👍
Thank You So Much.
I'm really glad that you enjoyed 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!
Thank you very much!!
Thank you so much for following the tutorial.
Hope they're 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 a lot brother.!!!!
You're always welcome brother.
Hope you enjoyed 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!
Sir part 1:30:03 when I excuted it show me error
Parse error : syntax error, un expected taken "," in C:\xampp\htdocs\food_order\admin\manage _admin.php on line 42
I don't know where a problem
Check your code at around line 40-42 in manage_admin.php file.
Best Wishes!
hello vijay sir, i get error in web page at 1:8:00 , and error is showing on this line :-
$res = mysqli_query($conn ,$sql) or die(mysqli_error());
So, what is the error?
Thankyou So much Sir Love you ❤️❤️
You're welcome.
I'm really glad that you enjoyed 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!
sorry sir, but at minute 5:50, when I refreshed the admin page, the width remain the same...
It might be due to temp or cache file.
Try doing one of the following
1. Restart your browser
2. Restart your PC
if nothing works, then you might have error in your HTML/CSS.
Thanks and Regards!
Amazing content.
Thank you so much, I'm really glad that you enjoyed the tutorials.
Hope you complete all 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 I have shared it with them. Please keep uploading. You are a real philanthropist for doing such a lovely work.
Good video.
Thank You So Much.
Hope you completed all 13 tutorials and 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!
" Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\First\wowFood\admin\partials\footer.php:1) in C:\xampp\htdocs\First\wowFood\admin\add-admin.php on line 60 "
How to fix it ?
To fix this error, add the following code at the top of "constants.php" file
ob_start();
If you want to learn more about the error and code, then please follow the link below
www.vijaythapa.com.np/2021/08/how-to-fix-headers-already-sent-error.html
Thanks and Regards!
Sir at 52:35 can i ask why it is showing here fatal error and yours is just warning if i try to add random password, is it still just the same?
Email me at hi@vijaythapa.com with the screenshot of your code.
@@VijayThapa done sir i emailed you already pls reply sir i really need your help thankyou.
nicely clearly explained Sir...I have a query. Is it necessary to learn Laravel. Or just by knowing PHP you get the job done.
Thank you so much for following the tutorials.
You can get the job done with just PHP.
But learning Laravel will be helpful on making large applications where you need to work with others developers as well.
It is also constantly updated and maintained by open source developers for FREE as well.
So, in the beginning to learn core functionality of code, I recommend you to learn core PHP and later learn at least 1 framework.
Thanks and Regards!
@@VijayThapa Thanks Sir for your prompt reply
1:08:25 why my database from localhost. can't connect? but theirs no error. ( only didn't not connect ) :( after i put $res = mysqli_query($conn, $sql) or die(mysqli_error()); and if($res==TRUE) . i watch this video many times. :( please help me
You might have error in including "constants.php" at menu.php file.
Try using "require" instead of "include".
If you've added the constants.php correctly, then you'll see the web page and not get any error.
But if you don't see the webpage, then you've error in adding constants.php,
You'll have to watch the video on including "constants.php" file correctly.
Hope you'll find the bug and fix it.
Best Wishes!
@@VijayThapa sir please help i have this same issue and i have watched video over and over it still dont work
If put
You cannot have ) sign before / sign.
And add ' sign at the end of constants.php
like
Please follow the tutorials more carefully.
Thanks and Regards!
Thank you, Sir, good work. Please in the constant.php file, define('LOCALHOST', 'localhost'); I am getting a red line under 'localhost'
Just continue with the lecture.
It might just be a warning or check the line before it. You might have missed something.
can you please help (share your mail id) I need some help regarding this project.
because my placement is coming i need help to get a job please help.
in the time stamp of 29:39 When I try to run my code andtry to input some text in the input field, it always return in the order page. How can I input Name, username and password here. By the such a great tutorial
Please check the form tag of that Add Admin Page.
And then the code to insert the data.
You might have error there.
Also if needed, watch the tutorials once again and compare the code.
It might help you to find the error and fix it.
Thanks and Regards!
@@VijayThapa Warning: include(../partials/menu.php): failed to open stream: No such file or directory in C:\xampp\htdocs\food-order\admin\partials\menu.php on line 1
Warning: include(): Failed opening '../partials/menu.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\food-order\admin\partials\menu.php on line 1
Home Admin Category Food Order
@@asdfghjkl1123h Then you've an error on including menu.php file,
Please check that section.
If needed, watch the tutorial once again.
Thanks alot,its really helpful for me..
When i am executing the query and save data in data base as u done in this video it doesn't show any error like yours why?
You might have error in your if-else condition.
Please check there.
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!
DId u resolve it? I have same issue
@@tym09 same
i think at 1:04:20 you ment to get out of partials folder not admin corect me if im wrong