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

  Рет қаралды 565,026

BoostMyTool

BoostMyTool

Күн бұрын

Пікірлер: 230
@happythrottlemotomedia5529
@happythrottlemotomedia5529 2 жыл бұрын
I just started studying Visual Studio and you my friend is the best and my favorite teacher. Thank you
@alfredgithinji3166
@alfredgithinji3166 2 жыл бұрын
Wow! What an awesome video. I am already feeling confident working with PHP having come from the JavaScript world.
@carlosjunior2108
@carlosjunior2108 Жыл бұрын
Excelent video! I'm brazilian and with my poour english i managed to do. You are very good teacher.
@GeronimoEmbang
@GeronimoEmbang Ай бұрын
Hi can you send me the code of that?
@shinyamauchi82
@shinyamauchi82 Ай бұрын
this is very simple, quick, understandable, ANYTHING THAT IS SMOOTH AND NOT COMPLICATED. THANK YOU SIR! 😃
@murtazausmani7004
@murtazausmani7004 2 жыл бұрын
I Love You Mate, I was doing a freelance project and I was stuck but you helped me! Thanks
@abdulhaq6060
@abdulhaq6060 2 жыл бұрын
I love your programming tutorials on KZbin.
@Dhika653
@Dhika653 2 жыл бұрын
OMG ITS WORKED! Guys it really worked. Thank you maboy
@mayonnaise.8210
@mayonnaise.8210 Жыл бұрын
How do you fix the edit part?
@unknown-j1r3q
@unknown-j1r3q 15 күн бұрын
@@mayonnaise.8210 how to fix the edit
@MrTizinator
@MrTizinator Жыл бұрын
Appreciate it that Bob also made it on the list
@A_ALI24
@A_ALI24 2 жыл бұрын
Concise course. Well prepared. Well presented. Thank you very much. Keep up. All the best.
@fishworxify
@fishworxify 6 ай бұрын
AWESOME!!! Just what I was looking for. Beautifully explained and presented!!!!
@infodiff
@infodiff 9 ай бұрын
Thank you so much. Joined u on patreon as well.
@BoostMyTool
@BoostMyTool 9 ай бұрын
Thank you for your support
@unknown-j1r3q
@unknown-j1r3q 15 күн бұрын
@@BoostMyTool HOW CAN I FIX THE UPDATE BRO?
@ramsuthar3473
@ramsuthar3473 2 жыл бұрын
This tutorial is amazing and you are really good at teaching !! great job sir !
@rajithadeshan2908
@rajithadeshan2908 Жыл бұрын
100% agreed
@Sai-nr4tw
@Sai-nr4tw 2 жыл бұрын
THANK YOU MISTER THIS REALLY A BIG HELP IN MY CAPSTONE PROJECT!!! THANKS YOU VERYY MUCHHHH
@Silaghy
@Silaghy 2 жыл бұрын
Thanks the best CRUD video on this platform
@BhootFmOfficial786
@BhootFmOfficial786 2 жыл бұрын
Amazing. i have just watched this full video. easy explanation. waiting for more videos.🤚
@musadayel4673
@musadayel4673 Жыл бұрын
😊
@nicoschulz4037
@nicoschulz4037 2 жыл бұрын
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 Жыл бұрын
Hello, can you help me out
@Kashalot24
@Kashalot24 11 ай бұрын
Thank you so much! Everything is worked. You really helped me. Thank you, teacher
@EDITVERSE37
@EDITVERSE37 Жыл бұрын
Bro In 20:49 what comes after aria-label
@malysn7
@malysn7 Жыл бұрын
did u get the code?
@zekrom6537
@zekrom6537 11 ай бұрын
button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'>
@AdílioNeto-h3x
@AdílioNeto-h3x 9 ай бұрын
It was really helpful. Thank you very much!
@mineaks
@mineaks Жыл бұрын
Great video. Thanks for the effort taken to show this
@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 Жыл бұрын
What if you remove the '' around the $id in the query (...... WHERE id=$id")
@benedekszabo9121
@benedekszabo9121 Жыл бұрын
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?
@hocngoaingucungtrong1601
@hocngoaingucungtrong1601 4 ай бұрын
I know that
@ابوأحمد-ث9ت4ض
@ابوأحمد-ث9ت4ض 2 жыл бұрын
شرح اكثر من رائع شكرا لك عزيزي
@CodeWithAffan1
@CodeWithAffan1 Жыл бұрын
Edit and delete not working
@Kaptan_Gezer
@Kaptan_Gezer Жыл бұрын
20:11 I cannot read the code here: .....label='Close'>
@malysn7
@malysn7 Жыл бұрын
did u get the code?
@Kaptan_Gezer
@Kaptan_Gezer Жыл бұрын
@@malysn7 I wrote it myself
@kat3586
@kat3586 8 ай бұрын
Best teacher
@2007protsenko
@2007protsenko 4 ай бұрын
Very helpful, thank you👍
@nooni213
@nooni213 Жыл бұрын
شكرا استاذ🙏🙏
@yahyadede9133
@yahyadede9133 2 жыл бұрын
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 Жыл бұрын
you should use: $_POST['....'] (capitals)
@fernavas123
@fernavas123 Жыл бұрын
Thanks! Excellent video! Really helped me. Congrats! You're amazing
@NetReklam-om3ds
@NetReklam-om3ds 8 ай бұрын
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.
@abovethenimbus
@abovethenimbus 6 ай бұрын
thankyou i can now graduate
@randyortiz6151
@randyortiz6151 Жыл бұрын
This is an excellent lesson and the code works. Thank You!😊
@Mr.samomar
@Mr.samomar Жыл бұрын
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.
@seint1044
@seint1044 Жыл бұрын
thanks brother
@Mr.samomar
@Mr.samomar Жыл бұрын
@@seint1044 Your welcome
@zekrom6537
@zekrom6537 11 ай бұрын
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
@KpegloMakafui
@KpegloMakafui 9 ай бұрын
I clicked on the resubmit form when working on this project the new client form is no longer loading or showing any help
@WebCrafters-yo7ju
@WebCrafters-yo7ju 5 ай бұрын
What would I do if I had radio buttons with the value part already filled
@zekrom6537
@zekrom6537 11 ай бұрын
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);
@adrianromero7503
@adrianromero7503 9 ай бұрын
me pasa lo mismo
@djskipe
@djskipe 4 ай бұрын
Thank you bro! Very helpful
@faktahati1007
@faktahati1007 Жыл бұрын
Nice Course It's worked thank you so much
@arnoldmesa2813
@arnoldmesa2813 Ай бұрын
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
@JohnMarkDue
@JohnMarkDue 8 ай бұрын
do you have a tutorial like this that not using bootstrap? thanks..
@HansAllende
@HansAllende Жыл бұрын
So easy explain, very helpful, thanks!
@hsgaming1251
@hsgaming1251 Жыл бұрын
bro your language is fantastic
@benoittheriault2635
@benoittheriault2635 2 жыл бұрын
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 2 жыл бұрын
Hello. How do you bind data plz?
@Beastfan_0-i3x
@Beastfan_0-i3x Жыл бұрын
i have some issue server saying THIS REQUESTED URL WAS NOT FOUND IN THIS SERVER what shoud i do
@muhammadhusaynamilaiyub6911
@muhammadhusaynamilaiyub6911 8 ай бұрын
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?
@nimijoshy5319
@nimijoshy5319 10 ай бұрын
really very usefull...thank u
@ashutoshgangwar2665
@ashutoshgangwar2665 Жыл бұрын
Thanks for this imp topic that you have covered
@marcinzale
@marcinzale Жыл бұрын
Very good tutorial.
@miguelangelperezsantiago783
@miguelangelperezsantiago783 6 ай бұрын
Thank you very much Sr.
@phc_kaodin
@phc_kaodin 2 жыл бұрын
Thank you for making such a great tutorial
@HelloWorld-so9uj
@HelloWorld-so9uj Жыл бұрын
Thank you very much❤❤.
@riya_sharma1709
@riya_sharma1709 Жыл бұрын
Thank you sir for this video 😊
@yeyestravelbites
@yeyestravelbites 9 ай бұрын
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?
@abdumunib2417
@abdumunib2417 2 жыл бұрын
Good one , easy explanation short method thanx it helped alot in my project
@lucaabg3796
@lucaabg3796 2 жыл бұрын
Best tutorial ☺️☺️
@waelzad4655
@waelzad4655 Жыл бұрын
after applying your example ! , I have Lots of warning errors (Warning: Undefined array key "id") , would you plz, support ?
@virginiasolomon1472
@virginiasolomon1472 2 жыл бұрын
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!
@ZBick
@ZBick 2 жыл бұрын
I get an error saying access denied for user ‘root@localhost’ (using password: NO)
@WHIROHATESTHIS
@WHIROHATESTHIS 2 жыл бұрын
the password should be root
@ZBick
@ZBick 2 жыл бұрын
@@WHIROHATESTHIS I put the password as 'root' and I am still getting the same error... "Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\myshop\index.php:35 Stack trace: #0 C:\xampp\htdocs\myshop\index.php(35): mysqli->__construct('localhost', 'root', 'root', 'myshop') #1 {main} thrown in C:\xampp\htdocs\myshop\index.php on line 35" this is the error I am receiving with line 35 being "$connection = new mysqli($servername, $username, $password, $database);" in my VS.
@papagoku1041
@papagoku1041 2 жыл бұрын
@@ZBick Same have you found the fix?
@papagoku1041
@papagoku1041 2 жыл бұрын
@@ZBick Found the fix, The name of the database was the problem, The one u create in xampp, Has to be the same
@marisberzins4895
@marisberzins4895 Жыл бұрын
where did u lost SuccessMessage after successfull now client registration ?
@Oprekode
@Oprekode 4 ай бұрын
Nice learning brother
@mitarzirojevic2582
@mitarzirojevic2582 2 жыл бұрын
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
@ryoma8801
@ryoma8801 Жыл бұрын
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.
@atienzaivanreint.9818
@atienzaivanreint.9818 Жыл бұрын
Can you help me, the existing data is not showing on edit page
@FranekMobile
@FranekMobile 7 ай бұрын
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.
@grum_pii
@grum_pii 4 ай бұрын
Give an echo " alert("message ")
@eurryherry1484
@eurryherry1484 Жыл бұрын
thank you sir you help me a lot.
@medhabibbenyoussef9391
@medhabibbenyoussef9391 Жыл бұрын
you didn't show us how we can display the error of duplicating an email which is unique in our data base
@abdelkadertalbi7063
@abdelkadertalbi7063 Жыл бұрын
that was amazing tutorial sir
@arm5379
@arm5379 Жыл бұрын
hi, can anyone help? my $connection variable is showing undefined for this - help please
@AlphamanKing
@AlphamanKing 10 ай бұрын
Great tutorial, although you left out some things and I had to figure and refigure them out myself.
@sukateknologi159
@sukateknologi159 2 жыл бұрын
Thnks a lot for your video brow, i can lerning this..
@waelzad4655
@waelzad4655 Жыл бұрын
Great Example !
@carrothed760
@carrothed760 2 жыл бұрын
Good tutorial, but would have been nice If we can see the source code, following from just the screen is difficult and confusing.
@ChandrajeetPratapSinghCJay
@ChandrajeetPratapSinghCJay 2 жыл бұрын
great tutorial for php mysqli html table !!!
@teeyiheng4697
@teeyiheng4697 2 жыл бұрын
Thank you very much, I have learned a lot.
@pendragontv945
@pendragontv945 Жыл бұрын
For some reason, the edit and delete function doesn't work for me, everything else does.
@mervenwedaye5943
@mervenwedaye5943 2 жыл бұрын
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
@alainlado
@alainlado Жыл бұрын
I really don't know how you were able to run the invalid query in create.php
@cryptomoguls-ss1lh
@cryptomoguls-ss1lh Жыл бұрын
I'm having a problem displaying the success message
@mal4797
@mal4797 7 ай бұрын
Can the website be opened properly on phones?
@keepitsimple3645
@keepitsimple3645 2 жыл бұрын
awasome video thanks very much
@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
@anonymous_0717
@anonymous_0717 Жыл бұрын
Thank you so much ☺
@jakobdylancelestialcordero2329
@jakobdylancelestialcordero2329 2 жыл бұрын
SQL QUERY i copied on description error it has !on email same as i delete itPLS help me Tnxs
@ΕυδόκιμοςΠετράκης-π9σ
@ΕυδόκιμοςΠετράκης-π9σ 20 күн бұрын
I want the link with bootsrap in file index.php and line 8
@Dewnam
@Dewnam Жыл бұрын
I entered like 5 rows in teh database but my php only shows one row
@techwithdenzel
@techwithdenzel 2 жыл бұрын
Great tutorial.
@trannhan1432
@trannhan1432 Жыл бұрын
Thank you!
@TUBENOLOGY
@TUBENOLOGY Жыл бұрын
What if the client who add his own info and admin receive infos in admin panel
@ISHAKBOUSHAKISaida-xf8fn
@ISHAKBOUSHAKISaida-xf8fn 7 ай бұрын
Excelent video!
@cmcotrading
@cmcotrading 2 жыл бұрын
You are amazing my dear... But my question is can i use the same file in a different computer
@mo_zidan7259
@mo_zidan7259 2 жыл бұрын
can you do that with ajax, I will be grateful if you help with that
@hallatkordo4544
@hallatkordo4544 2 жыл бұрын
Thank you god bless
@Скофиэлд
@Скофиэлд 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.
@tarunbhardwaj8790
@tarunbhardwaj8790 2 жыл бұрын
which php version is this ?? can you please tell me asap bcoz i want to work on CI 3 via php 8...
@BoostMyTool
@BoostMyTool 2 жыл бұрын
php 8.0.12
@AlphaNdiaye-yr4xq
@AlphaNdiaye-yr4xq 10 ай бұрын
Thank's you so much
@shreyas8534
@shreyas8534 2 жыл бұрын
thankyou for the tutorial but can i get the source code for this, its not available in the description box
@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 Жыл бұрын
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 Жыл бұрын
​@@lucasferreira8229tbh, i find it better not to concatenate and just plain write it like echo "sql query code..." Than echo "" . " " . "";
@predestined97
@predestined97 Жыл бұрын
@@lucasferreira8229 Hi Lucas. Do you still need help?
@shakyxd
@shakyxd 2 жыл бұрын
Thank you so much
@veinkirishima07
@veinkirishima07 Ай бұрын
Thank you
PHP CRUD   || Create, Read, Update, Delete.
53:07
Step by Step
Рет қаралды 1 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Power BI Intro to Data Analysis Beginner Tutorial
39:32
Learnit Training
Рет қаралды 1,8 М.
Are we going back to PHP with fullstack JavaScript?
9:57
Maximilian Schwarzmüller
Рет қаралды 157 М.
PHP For Beginners | 3+ Hour Crash Course
3:15:36
Traversy Media
Рет қаралды 805 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН