PHP and MySQL with CRUD Operations: Create, Read, Update, Delete

  Рет қаралды 466,618

BoostMyTool

BoostMyTool

2 жыл бұрын

Create Web Application using PHP and MySQL. How to connect to mysql database using PHP. How to fill HTML table from database using PHP. How to perform CRUD operations using PHP and MySQL.
********************************
Source code on Patreon: / php-and-mysql-84465280
********************************
Install XAMPP: • How to Install XAMPP 8...
********************************
SQL Queries:
CREATE TABLE clients (
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
name VARCHAR (100) NOT NULL,
email VARCHAR (200) NOT NULL UNIQUE,
phone VARCHAR(20) NULL,
address VARCHAR(200) NULL,
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
);
INSERT INTO clients (name, email, phone, address)
VALUES
('Bill Gates', 'bill.gates@microsoft.com', '+123456789', 'New York, USA'),
('Elon Musk', 'elon.musk@spacex.com', '+111222333', 'Florida, USA'),
('Will Smith', 'will.smith@gmail.com', '+111333555', 'California, USA'),
('Bob Marley', 'bob@gmail.com', '+111555999', 'Texas, USA'),
('Cristiano Ronaldo', 'cristiano.ronaldo@gmail.com', '+32447788993', 'Manchester, England'),
('Boris Johnson', 'boris.johnson@gmail.com', '+4499778855', 'London, England');
*************************** .
***********************************
🔥 Complete Udemy Courses :
Build E-commerce Web Application using ASP.NET Core : www.udemy.com/course/aspnet-c...
Build E-commerce Web API using ASP.NET Core : www.udemy.com/course/build-as...
Build E-commerce Web Application using React JS : www.udemy.com/course/build-co...
⬇️ Free Document Proofreading ⬇️
► Grammarly : grammarly.go2cloud.org/SH3YB

Пікірлер: 206
@happythrottlemotomedia5529
@happythrottlemotomedia5529 2 жыл бұрын
I just started studying Visual Studio and you my friend is the best and my favorite teacher. Thank you
@alfredgithinji3166
@alfredgithinji3166 Жыл бұрын
Wow! What an awesome video. I am already feeling confident working with PHP having come from the JavaScript world.
@carlosjunior2108
@carlosjunior2108 6 ай бұрын
Excelent video! I'm brazilian and with my poour english i managed to do. You are very good teacher.
@abdulhaq6060
@abdulhaq6060 Жыл бұрын
I love your programming tutorials on KZbin.
@A_ALI24
@A_ALI24 Жыл бұрын
Concise course. Well prepared. Well presented. Thank you very much. Keep up. All the best.
@murtazausmani7004
@murtazausmani7004 Жыл бұрын
I Love You Mate, I was doing a freelance project and I was stuck but you helped me! Thanks
@MrTizinator
@MrTizinator Жыл бұрын
Appreciate it that Bob also made it on the list
@mineaks
@mineaks 11 ай бұрын
Great video. Thanks for the effort taken to show this
@infodiff
@infodiff 2 ай бұрын
Thank you so much. Joined u on patreon as well.
@BoostMyTool
@BoostMyTool 2 ай бұрын
Thank you for your support
@ramsuthar3473
@ramsuthar3473 Жыл бұрын
This tutorial is amazing and you are really good at teaching !! great job sir !
@rajithadeshan2908
@rajithadeshan2908 9 ай бұрын
100% agreed
@Kashalot24
@Kashalot24 4 ай бұрын
Thank you so much! Everything is worked. You really helped me. Thank you, teacher
@Sai-nr4tw
@Sai-nr4tw Жыл бұрын
THANK YOU MISTER THIS REALLY A BIG HELP IN MY CAPSTONE PROJECT!!! THANKS YOU VERYY MUCHHHH
@SoftwareScience
@SoftwareScience Жыл бұрын
Thanks the best CRUD video on this platform
@Dhika653
@Dhika653 Жыл бұрын
OMG ITS WORKED! Guys it really worked. Thank you maboy
@mayonnaise.8210
@mayonnaise.8210 Жыл бұрын
How do you fix the edit part?
@fernavas123
@fernavas123 Жыл бұрын
Thanks! Excellent video! Really helped me. Congrats! You're amazing
@user-ld2yx6vs9t
@user-ld2yx6vs9t 2 ай бұрын
It was really helpful. Thank you very much!
@user-so5he3op1q
@user-so5he3op1q Жыл бұрын
شرح اكثر من رائع شكرا لك عزيزي
@BhootFmOfficial786
@BhootFmOfficial786 Жыл бұрын
Amazing. i have just watched this full video. easy explanation. waiting for more videos.🤚
@musadayel4673
@musadayel4673 Жыл бұрын
😊
@HansAllende
@HansAllende Жыл бұрын
So easy explain, very helpful, thanks!
@phc_kaodin
@phc_kaodin Жыл бұрын
Thank you for making such a great tutorial
@randyortiz6151
@randyortiz6151 Жыл бұрын
This is an excellent lesson and the code works. Thank You!😊
@abovethenimbus
@abovethenimbus 20 күн бұрын
thankyou i can now graduate
@abdumunib2417
@abdumunib2417 2 жыл бұрын
Good one , easy explanation short method thanx it helped alot in my project
@ChandrajeetPratapSinghCJay
@ChandrajeetPratapSinghCJay 2 жыл бұрын
great tutorial for php mysqli html table !!!
@riya_sharma1709
@riya_sharma1709 11 ай бұрын
Thank you sir for this video 😊
@faktahati1007
@faktahati1007 Жыл бұрын
Nice Course It's worked thank you so much
@nicoschulz4037
@nicoschulz4037 Жыл бұрын
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.
@Kodexx_roy
@Kodexx_roy 10 ай бұрын
Hello, can you help me out
@kat3586
@kat3586 2 ай бұрын
Best teacher
@ashutoshgangwar2665
@ashutoshgangwar2665 Жыл бұрын
Thanks for this imp topic that you have covered
@waelzad4655
@waelzad4655 Жыл бұрын
Great Example !
@marcinzale
@marcinzale 5 ай бұрын
Very good tutorial.
@techwithdenzel
@techwithdenzel 2 жыл бұрын
Great tutorial.
@lucaabg3796
@lucaabg3796 2 жыл бұрын
Best tutorial ☺️☺️
@hsgaming1251
@hsgaming1251 Жыл бұрын
bro your language is fantastic
@nimijoshy5319
@nimijoshy5319 4 ай бұрын
really very usefull...thank u
@abdelkadertalbi7063
@abdelkadertalbi7063 Жыл бұрын
that was amazing tutorial sir
@sukateknologi159
@sukateknologi159 Жыл бұрын
Thnks a lot for your video brow, i can lerning this..
@HelloWorld-so9uj
@HelloWorld-so9uj 8 ай бұрын
Thank you very much❤❤.
@keepitsimple3645
@keepitsimple3645 Жыл бұрын
awasome video thanks very much
@nooni213
@nooni213 6 ай бұрын
شكرا استاذ🙏🙏
@trannhan1432
@trannhan1432 9 ай бұрын
Thank you!
@eurryherry1484
@eurryherry1484 Жыл бұрын
thank you sir you help me a lot.
@Oprekode
@Oprekode 10 ай бұрын
nice tutorial
@khash1163
@khash1163 6 ай бұрын
thank you!
@mervenwedaye5943
@mervenwedaye5943 Жыл бұрын
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
@anonymous_0717
@anonymous_0717 Жыл бұрын
Thank you so much ☺
@shakyxd
@shakyxd Жыл бұрын
Thank you so much
@AlphaNdiaye-yr4xq
@AlphaNdiaye-yr4xq 3 ай бұрын
Thank's you so much
@ryoma8801
@ryoma8801 6 ай бұрын
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.
@Henry_Nunez
@Henry_Nunez Жыл бұрын
👍🔔 Very good
@hallatkordo4544
@hallatkordo4544 Жыл бұрын
Thank you god bless
@user-cp4sk7rb3v
@user-cp4sk7rb3v 2 жыл бұрын
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.
@vjpadron07
@vjpadron07 Жыл бұрын
excelente video muy
@cmcotrading
@cmcotrading Жыл бұрын
You are amazing my dear... But my question is can i use the same file in a different computer
@alphamanking5578
@alphamanking5578 4 ай бұрын
Great tutorial, although you left out some things and I had to figure and refigure them out myself.
@virginiasolomon1472
@virginiasolomon1472 Жыл бұрын
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!
@omarhafez9272
@omarhafez9272 5 ай бұрын
الشكر برشا
@mohammedalostath5434
@mohammedalostath5434 11 ай бұрын
thanks
@selsoluis1569
@selsoluis1569 Жыл бұрын
Top!
@benoittheriault2635
@benoittheriault2635 Жыл бұрын
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.
@ferdinardajaba2691
@ferdinardajaba2691 Жыл бұрын
Hello. How do you bind data plz?
@BirhalsBR
@BirhalsBR Жыл бұрын
Obrigado.
@benmakhloufaya5037
@benmakhloufaya5037 7 ай бұрын
merci bcp
@ISHAKBOUSHAKISaida-xf8fn
@ISHAKBOUSHAKISaida-xf8fn 28 күн бұрын
Excelent video!
@leticiamarianifranca812
@leticiamarianifranca812 2 ай бұрын
MUITO BOM🤙
@efeumut
@efeumut 2 ай бұрын
eyw
@shreyas8534
@shreyas8534 Жыл бұрын
thankyou for the tutorial but can i get the source code for this, its not available in the description box
@user-hj5xj6pq5o
@user-hj5xj6pq5o 9 ай бұрын
excellent video... do u have any course to buy about php?
@jaws21015
@jaws21015 Жыл бұрын
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.
@lucasferreira8229
@lucasferreira8229 11 ай бұрын
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.
@alainlado
@alainlado 10 ай бұрын
​@@lucasferreira8229tbh, i find it better not to concatenate and just plain write it like echo "sql query code..." Than echo "" . " " . "";
@predestined97
@predestined97 7 ай бұрын
@@lucasferreira8229 Hi Lucas. Do you still need help?
@teeyiheng4697
@teeyiheng4697 Жыл бұрын
Thank you very much, I have learned a lot.
@mo_zidan7259
@mo_zidan7259 Жыл бұрын
can you do that with ajax, I will be grateful if you help with that
@JohnMarkDue
@JohnMarkDue Ай бұрын
do you have a tutorial like this that not using bootstrap? thanks..
@carrothed760
@carrothed760 Жыл бұрын
Good tutorial, but would have been nice If we can see the source code, following from just the screen is difficult and confusing.
@zedmedia727
@zedmedia727 Жыл бұрын
Thank you for making such a great tutorial, it helped me a lot, It is possible to ask you question related to php, are you on instagram?
@muhammadhusaynamilaiyub6911
@muhammadhusaynamilaiyub6911 2 ай бұрын
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?
@user-yi4uq4dx8h
@user-yi4uq4dx8h 3 ай бұрын
I clicked on the resubmit form when working on this project the new client form is no longer loading or showing any help
@unior2676
@unior2676 Жыл бұрын
Sir can you plz write error message and success message display code here
@medhabibbenyoussef9391
@medhabibbenyoussef9391 Жыл бұрын
you didn't show us how we can display the error of duplicating an email which is unique in our data base
@mitarzirojevic2582
@mitarzirojevic2582 Жыл бұрын
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
@Sharifah03
@Sharifah03 6 ай бұрын
Can this website also be accessed by any other device? like a smartphone or tablet?
@benedekszabo9121
@benedekszabo9121 8 ай бұрын
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?
@marisberzins4895
@marisberzins4895 Жыл бұрын
where did u lost SuccessMessage after successfull now client registration ?
@xazizayari
@xazizayari 2 күн бұрын
I’m sure that you are Tunisian Cause we know the accent of Each other
@waelzad4655
@waelzad4655 Жыл бұрын
after applying your example ! , I have Lots of warning errors (Warning: Undefined array key "id") , would you plz, support ?
@FranekMobile
@FranekMobile Ай бұрын
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.
@viane123456
@viane123456 Жыл бұрын
Can you share a source code?
@maakelolohea2778
@maakelolohea2778 Жыл бұрын
A link for the source code would be great thanks
@NetReklam-om3ds
@NetReklam-om3ds Ай бұрын
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.
@mal4797
@mal4797 29 күн бұрын
Can the website be opened properly on phones?
@ayodahunsi
@ayodahunsi 2 жыл бұрын
Nice tutorial. Where can we download the source code?
@BoostMyTool
@BoostMyTool 2 жыл бұрын
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.
@mexiko4532
@mexiko4532 2 жыл бұрын
@@BoostMyTool Without the source code this video is also not attractive for the viewers.
@Manuelx5
@Manuelx5 Жыл бұрын
@@BoostMyTool you can hide the link to the source in the video, the people see your video and can download the source code
@TKTK-jx4np
@TKTK-jx4np Жыл бұрын
@@BoostMyTool man im relly sad about your code stolen bro!. BUT i relly need your code source bro. Trust my bro!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@papeacendiaye4900
@papeacendiaye4900 Жыл бұрын
@@BoostMyTool you can create a github project et shade the link
@yahyadede9133
@yahyadede9133 Жыл бұрын
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
@BaukeC
@BaukeC 8 ай бұрын
you should use: $_POST['....'] (capitals)
@pendragontv945
@pendragontv945 Жыл бұрын
For some reason, the edit and delete function doesn't work for me, everything else does.
@nadjibdz6838
@nadjibdz6838 Жыл бұрын
What if the client who add his own info and admin receive infos in admin panel
@raevenconsolacion2449
@raevenconsolacion2449 Жыл бұрын
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
@JippiMonster
@JippiMonster Жыл бұрын
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?
@mayonnaise.8210
@mayonnaise.8210 Жыл бұрын
This is my problem right now, I don't know what is the problem is😢
@BaukeC
@BaukeC 8 ай бұрын
What if you remove the '' around the $id in the query (...... WHERE id=$id")
@atienzaivanreint.9818
@atienzaivanreint.9818 10 ай бұрын
Can you help me, the existing data is not showing on edit page
@cryptomoguls-ss1lh
@cryptomoguls-ss1lh Жыл бұрын
I'm having a problem displaying the success message
@user-nr9wl6ks1c
@user-nr9wl6ks1c Жыл бұрын
pls....after explanation, show us the codes and file maybe in the comment section or u will give us a link God bless you🙏
@motivational_quotes_for_life71
@motivational_quotes_for_life71 Жыл бұрын
i have some issue server saying THIS REQUESTED URL WAS NOT FOUND IN THIS SERVER what shoud i do
@Laoland
@Laoland Жыл бұрын
Where can I get the source code sure?
@CodeWithAffan1
@CodeWithAffan1 10 ай бұрын
Edit and delete not working
PHP CRUD | Create Read Update Delete Queries in PHP MySQL
51:10
Madu Web Tech
Рет қаралды 114 М.
UFC Vegas 93 : Алмабаев VS Джонсон
02:01
Setanta Sports UFC
Рет қаралды 166 М.
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,1 МЛН
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 26 МЛН
PHP CRUD Operation| Create, Read, Update, Delete.
36:36
Tech Coffee Break
Рет қаралды 65 М.
Laravel Tutorial For Beginners (Simple User CRUD App)
1:16:13
LearnWebCode
Рет қаралды 163 М.
Signup and Login with PHP and MySQL
43:16
Dave Hollingworth
Рет қаралды 268 М.