Nice video with good explanation. Worked for me even without the source code. Took a while, but it worked. Just one quick question: Is there a simple way to add a confirmation to the delete-button before deleting? Thanks in advance.
Since you are not binding data it’s dangerous for SQL injections. Also, data should be pas into test_input to make sure that injections is also impossible.
I was get problem Here 24:09 When I use same Email, It's not only show the error massage It will break the code. Then I used try catch to solve the problem. try { $sql = "INSERT INTO clients (name, email, phone, address) VALUES ('$name', '$email', '$phone', '$address')"; $result = $connection->query($sql); } catch (\Exception $e) { $erorrMsg = "Invalid Query: " . $connection->error; break; }; Now it's working fine, Thank you so much for this tutorial.
wow thank you was worth reading all comments to finally find a solution, my guess is that the youtuber added some extra lines somewhere that we cant see in the video thats why it doesnt work for us but does for him, but its not erorrMsg its errorMessage you made a typo there i assume but it works
When I click edit it says: "Invalid query: 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 1". Did anyone know why?
sir you make great tutorials thank you very much, do you think you could make one on how to make a chrome crypto prices extension or VS code extension? since they seem to be hot topics.
i have error in post method " Undefined variable $_post in " he said Trying to access array offset on value of type null in C:\xampp\htdocs\xampp\update.php on line 46 can plz tell me why is that happen
Thanks for the tutorial but on some parts it's impossible to see the code Example: at time 20:14 at time 20:49 it's impossible to see the bootstrap code I haven't finished the course for now. I hope there are no more parts where you can't see the code.
Almost everything is working correctly, but in the edit and in the delete always write that the id variable is not set to the URL. If i write the id manually to the URL (for example 'localhost/myshop/delete.php?id=1) it's working. Does anyone detected this problem?
Hi I have a problem in my New client form when the data is not complete and you send it to delete the data of the cost the problem reaches the modify button when I press the modify button there is no data in the new customer form If you can help me with this please
OMG EDIT: right after posting this comment i realize whats the error because i read my comment again 🤦♂ the error is that its $results not $result its just that missing s what is causing the issues omg BUT then it gives a new error saying Warning: Undefined array key "id" :| ill edit it again if i figure it out i guess so i found the solution for getting the "warning undefined array key "id" error inside the edit.php scroll down to where you have the it should look like this:
When I added the download link of the source code, I noticed that the viewers download the source code and do not watch the video. As a result, youtube considers that the video is not attractive and does not suggest it frequently. So I decided to delete the source link.
This is very concise but as such it was prone to errors; I spent about a month to troubleshoot this and get it to "work". I was missing end tags and syntax errors as I tried to replicate the process.
i'm having the same issue. can you help me? in the (edit.php), $sql = "UPDATE clients "."SET nome = '$nome', email = '$email', telefone = '$telefone', endereco = '$endereco' "."WHERE id = '$id' "; if I remove the ' ' from the $id, it throws an error in this line ( $result = $conection->query($sql); ) if I let it like this ( WHERE id = $id"; ) it finishes the process, but it doesn't save the data.
sir what do i do if i'm using a foreign key for example each project has different multiple task and i am using foreign key so that whenever i add a task it will get the id of the project then the tasks i added in that project will display but when i edit i want a certain task i have to get the project id and task id how do i do that?
Hello, In 87 line, if loop for executions success Message, i can't see all code for executions. Because of that i have error when i try enter a new user. Same thinks is with error message. Can you please paste code of success and error message in if loop? Thanks
completed...............oh my god only 30 min vid. my lecturer took 25 days to finish some employee module just like this🤪🤪 25 days of 2 hour video 😂😂😂😂
at min 24 for some reason mine refuse to show the error message correctly with the yellow box around it and just shows a white page saying fatal error on line 34 in the create.php and that line is within these 3: $sql = "INSERT INTO clients (name, email, phone, address)" . "VALUES ('$name', '$email', '$phone', '$address')"; $result = $connection->query($sql);
Anyone has an idea why I;m getting uncaught exception when adding duplicate email?? Instead of catching the error and showing it as a dismissable warning message?
Hi, How can I be able to delete records, but how can I add an alert that will confirm the deletion, but I don't know how to do it, I've been looking and nothing.
I just started studying Visual Studio and you my friend is the best and my favorite teacher. Thank you
this is very simple, quick, understandable, ANYTHING THAT IS SMOOTH AND NOT COMPLICATED. THANK YOU SIR!
😃
Wow! What an awesome video. I am already feeling confident working with PHP having come from the JavaScript world.
Excelent video! I'm brazilian and with my poour english i managed to do. You are very good teacher.
Hi can you send me the code of that?
I love your programming tutorials on TH-cam.
Appreciate it that Bob also made it on the list
I Love You Mate, I was doing a freelance project and I was stuck but you helped me! Thanks
AWESOME!!! Just what I was looking for. Beautifully explained and presented!!!!
OMG ITS WORKED! Guys it really worked. Thank you maboy
How do you fix the edit part?
Concise course. Well prepared. Well presented. Thank you very much. Keep up. All the best.
Nice video with good explanation. Worked for me even without the source code. Took a while, but it worked.
Just one quick question: Is there a simple way to add a confirmation to the delete-button before deleting? Thanks in advance.
Hello, can you help me out
Thank you so much. Joined u on patreon as well.
Thank you for your support
THANK YOU MISTER THIS REALLY A BIG HELP IN MY CAPSTONE PROJECT!!! THANKS YOU VERYY MUCHHHH
This tutorial is amazing and you are really good at teaching !! great job sir !
100% agreed
Amazing. i have just watched this full video. easy explanation.
waiting for more videos.🤚
😊
Thanks the best CRUD video on this platform
thankyou i can now graduate
Thank you so much! Everything is worked. You really helped me. Thank you, teacher
Since you are not binding data it’s dangerous for SQL injections. Also, data should be pas into test_input to make sure that injections is also impossible.
Hello. How do you bind data plz?
I was get problem Here 24:09 When I use same Email, It's not only show the error massage It will break the code.
Then I used try catch to solve the problem.
try {
$sql = "INSERT INTO clients (name, email, phone, address) VALUES ('$name', '$email', '$phone', '$address')";
$result = $connection->query($sql);
} catch (\Exception $e) {
$erorrMsg = "Invalid Query: " . $connection->error;
break;
};
Now it's working fine, Thank you so much for this tutorial.
thanks brother
@@seint1044 Your welcome
wow thank you was worth reading all comments to finally find a solution, my guess is that the youtuber added some extra lines somewhere that we cant see in the video thats why it doesnt work for us but does for him, but its not erorrMsg its errorMessage you made a typo there i assume but it works
Best teacher
It was really helpful. Thank you very much!
Great video. Thanks for the effort taken to show this
Good tutorial, but would have been nice If we can see the source code, following from just the screen is difficult and confusing.
bro your language is fantastic
Thanks for this imp topic that you have covered
Nice Course It's worked thank you so much
Nice learning brother
Nice tutorial all works fine on me i solve it in just an hour. But i would appreciate if you added some pop up text when clicking delete button.
Thanks! Excellent video! Really helped me. Congrats! You're amazing
Thank you bro!
Very helpful
Good one , easy explanation short method thanx it helped alot in my project
شرح اكثر من رائع شكرا لك عزيزي
This is an excellent lesson and the code works. Thank You!😊
So easy explain, very helpful, thanks!
Very helpful, thank you👍
Very good tutorial.
Thank you for making such a great tutorial
great tutorial for php mysqli html table !!!
شكرا استاذ🙏🙏
Thank you very much Sr.
Thnks a lot for your video brow, i can lerning this..
really very usefull...thank u
You are amazing my dear... But my question is can i use the same file in a different computer
Great tutorial, although you left out some things and I had to figure and refigure them out myself.
that was amazing tutorial sir
When I click edit it says: "Invalid query: 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 1". Did anyone know why?
This is my problem right now, I don't know what is the problem is😢
What if you remove the '' around the $id in the query (...... WHERE id=$id")
Edit and delete not working
Hello sir, thanks a lot for this good you have done , could I ask you to do the same tutorial with PDO connection to the data-base. Thanks in advance
Thank you sir for this video 😊
awasome video thanks very much
Great Example !
Best tutorial ☺️☺️
you didn't show us how we can display the error of duplicating an email which is unique in our data base
Wonderful youtube, thank very much!
I wonder how to add a dialog with 2 buttons for acknowledge to delete the client or not.
Thank you!
thank you sir you help me a lot.
Thank you very much❤❤.
👍🔔 Very good
Great tutorial.
sir you make great tutorials thank you very much, do you think you could make one on how to make a chrome crypto prices extension or VS code extension? since they seem to be hot topics.
i have error in post method
" Undefined variable $_post in " he said Trying to access array offset on value of type null in C:\xampp\htdocs\xampp\update.php on line 46
can plz tell me why is that happen
you should use: $_POST['....'] (capitals)
Thank you!
Thanks for the tutorial but on some parts it's impossible to see the code
Example:
at time 20:14
at time 20:49 it's impossible to see the bootstrap code
I haven't finished the course for now. I hope there are no more parts where you can't see the code.
Almost everything is working correctly, but in the edit and in the delete always write that the id variable is not set to the URL. If i write the id manually to the URL (for example 'localhost/myshop/delete.php?id=1) it's working. Does anyone detected this problem?
I know that
nice tutorial
Thank you
Hi
I have a problem in my New client form
when the data is not complete and you send it to delete the data
of the cost the problem reaches the modify button when I press the modify button there is no data in the new customer form
If you can help me with this please
Nice!!
OMG EDIT: right after posting this comment i realize whats the error because i read my comment again 🤦♂ the error is that its $results not $result its just that missing s what is causing the issues omg BUT then it gives a new error saying Warning: Undefined array key "id" :| ill edit it again if i figure it out i guess
so i found the solution for getting the "warning undefined array key "id" error
inside the edit.php scroll down to where you have the
it should look like this:
Thk dude for "warning undefined array key "id"
do you have a tutorial like this that not using bootstrap? thanks..
Excelent video!
Nice tutorial. Where can we download the source code?
When I added the download link of the source code, I noticed that the viewers download the source code and do not watch the video. As a result, youtube considers that the video is not attractive and does not suggest it frequently. So I decided to delete the source link.
@@BoostMyTool Without the source code this video is also not attractive for the viewers.
@@BoostMyTool you can hide the link to the source in the video, the people see your video and can download the source code
@@BoostMyTool man im relly sad about your code stolen bro!. BUT i relly need your code source bro. Trust my bro!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@BoostMyTool you can create a github project et shade the link
This is very concise but as such it was prone to errors; I spent about a month to troubleshoot this and get it to "work". I was missing end tags and syntax errors as I tried to replicate the process.
i'm having the same issue. can you help me?
in the (edit.php),
$sql = "UPDATE clients "."SET nome = '$nome', email = '$email', telefone = '$telefone', endereco = '$endereco' "."WHERE id = '$id' ";
if I remove the ' ' from the $id, it throws an error in this line ( $result = $conection->query($sql); )
if I let it like this ( WHERE id = $id"; ) it finishes the process, but it doesn't save the data.
@@lucasferreira8229tbh, i find it better not to concatenate and just plain write it like echo "sql query code..." Than echo "" . " " . "";
@@lucasferreira8229 Hi Lucas. Do you still need help?
الشكر برشا
thankyou for the tutorial
but can i get the source code for this, its not available in the description box
I clicked on the resubmit form when working on this project the new client form is no longer loading or showing any help
Bro In 20:49 what comes after aria-label
did u get the code?
button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'>
after applying your example ! , I have Lots of warning errors (Warning: Undefined array key "id") , would you plz, support ?
sir what do i do if i'm using a foreign key for example each project has different multiple task and i am using foreign key so that whenever i add a task it will get the id of the project then the tasks i added in that project will display but when i edit i want a certain task i have to get the project id and task id how do i do that?
Hello,
In 87 line, if loop for executions success Message, i can't see all code for executions. Because of that i have error when i try enter a new user.
Same thinks is with error message.
Can you please paste code of success and error message in if loop?
Thanks
What would I do if I had radio buttons with the value part already filled
completed...............oh my god only 30 min vid. my lecturer took 25 days to finish some employee module just like this🤪🤪 25 days of 2 hour video 😂😂😂😂
excellent video... do u have any course to buy about php?
where did u lost SuccessMessage after successfull now client registration ?
i have some issue server saying THIS REQUESTED URL WAS NOT FOUND IN THIS SERVER what shoud i do
Thank's you so much
I’m sure that you are Tunisian Cause we know the accent of Each other
at min 24 for some reason mine refuse to show the error message correctly with the yellow box around it and just shows a white page saying fatal error on line 34 in the create.php and that line is within these 3:
$sql = "INSERT INTO clients (name, email, phone, address)" .
"VALUES ('$name', '$email', '$phone', '$address')";
$result = $connection->query($sql);
me pasa lo mismo
can you do that with ajax, I will be grateful if you help with that
For some reason, the edit and delete function doesn't work for me, everything else does.
Thank you so much ☺
excelente video muy
Sir can you plz write error message and success message display code here
i donr want to add other files i only want to put all code in one file
how am i supposed to do that?
please help me
Anyone has an idea why I;m getting uncaught exception when adding duplicate email?? Instead of catching the error and showing it as a dismissable warning message?
Thank you god bless
I really don't know how you were able to run the invalid query in create.php
Thank you very much, I have learned a lot.
Hi, How can I be able to delete records, but how can I add an alert that will confirm the deletion, but I don't know how to do it, I've been looking and nothing.
Give an echo " alert("message ")
Can you help me, the existing data is not showing on edit page