💥User registration and login system: kzbin.info/www/bejne/iZnFeaqXnt6CptU
@shrutisarnaik70425 жыл бұрын
Awa Melvine My all codes working perfectly but when i open index.php it show update form rather than save becuase of that i cant insert data Plz help
@tricksmix56273 жыл бұрын
Brother,i think you should add this in your description.It's help for quick display learn. 00:01 - Demo 01:24 - Intro 05:48 - Create database 06:42 - Insert into database 11:06 - Display records from database 13:00 - Display notification messages 15:28 - Update records 24:54 - Delete records 27:02 - Thank you @Awa Melvine
@MertYerlikaya4 жыл бұрын
00:01 - Demo 01:24 - Intro 05:48 - Create database 06:42 - Insert into database 11:06 - Display records from database 13:00 - Display notification messages 15:28 - Update records 24:54 - Delete records 27:02 - Thank you @Awa Melvine
@AwaMelvine4 жыл бұрын
You're the best. Thank you, too
@ishaqsg5 жыл бұрын
You done great job. No voice but every thing is clear..
@Addicted2OILau4 жыл бұрын
Thanks buddy, took me all day to go through this , but got there in the end, truly the only only way to learn programming is to do it type it out and go through the frustrations and figure it all out. Thanks for uploading , thumbs up
@AwaMelvine4 жыл бұрын
You have said it very well. Cheers!
@KixMayne917 жыл бұрын
For this CRUD portion, thank you SO MUCH, you truly helped me gain a better understanding for this subject.
@kydrontillis57326 жыл бұрын
Going to go ahead and prevent anyone that's in beginner stages of PHP from making the same mistake I did. In your server code, in the "update stages" use mysqli instead of mysql. I kept getting syntax errors, until i finally found out that mysql has depreciated. You wont have to do any extra editing. It should help. Bless
@AwaMelvine6 жыл бұрын
Thank you Kydron Tillis, for this.
@20simoontje6 жыл бұрын
Even beter use PDO.
@truecodemedia50996 жыл бұрын
Yes PDO is the best option.
@sheynko3066 жыл бұрын
i changed it but it doesnt work either
@tsaxiurgerelt82935 жыл бұрын
@@sheynko306 if (isset($_POST['update'])) { $name = mysqli_real_escape_string($db, $_POST['name']); $address = mysqli_real_escape_string($db, $_POST['address']); $id = mysqli_real_escape_string($db, $_POST['id']); mysqli_query($db, "UPDATE info SET name='$name', address= '$address' WHERE id=$id"); $_SESSION['msg'] = "Address updated"; header('location: index.php'); }
@HE3605 жыл бұрын
Excellent tutorial. It helped me further understand how PHP works!
@pavanvspk89283 жыл бұрын
I love your way of programming bro. Keep posting... An Indian
@dimitrimokotsolane67194 жыл бұрын
You the man! Couldn't have done this without you. Thank you so much.
@tsumokd76163 жыл бұрын
You're the best man.....thank you very much....cause of you i finish my project in database...
@cyrilkariyawasam9776 жыл бұрын
Excellent Tutorial Gentleman. Very professional.I tried and 100% working. Thanks a lot for your Time.
@kmakashahkma2 жыл бұрын
Thank you so much sir, with your tutorial, I manage to create simple and understand how this syntax works. 😁😁😁
@navaarunbhattacherjee45116 жыл бұрын
Everything works fine except the "Update" functionality. However, I appreciate your effort to help the beginners with "simple but elegant PHP coding" idea!
@allanpimble71986 жыл бұрын
If the 'Update' functionality is the only issue you are having, you probably using version 7.x of PHP, and this code is written for version 5.x. There should be a letter i after mysql in the functions: $name = mysqli_real_escape_string($db, $_POST['name']); And the mysqli_real_escape_string function must contain two parameters, your database connection - ($db, and the text you wish to escape - $_POST['name']) which gives you ($db, $_POST['name']). In version 5.x you did not need the database connection string in the function. I hope this helps.
@navaarunbhattacherjee45116 жыл бұрын
Thanks for your valuable advice! But I somehow solved this problem that day! (:
@sahilvernekar5966 жыл бұрын
Navaarun Bhattacherjee can you please tell me as I'm stuck there
@kinelekaite38782 жыл бұрын
really nice tutorial bro.. may God Bless you
@infantsimon27575 жыл бұрын
Successfully I did it .. Thank U bro... God bless U.. Keep doing.
@nayeemchowdhury24975 жыл бұрын
when ID is show in table edit option is not work. can you explain it.
@amirulafiq43716 жыл бұрын
Hi I'm currently doing a final report on my industrial training CRUD project and I was wondering if you could help me determine the strengths and weaknesses of the system itself
@kashmir3985 жыл бұрын
I have a problem. my code was working well until i started coding for update records. the error just shows " unexpected end of file. I tried searching if i missed out any brackets in both index.php or server.php but i cant seem to get where the problem is. I hope you can help me on this
@guillaumekieffer4894 жыл бұрын
Thanks a lot, I had a problem with the update and your video solved it.
@jayangachandeepa45714 жыл бұрын
I have a problem. i'm using wampserver, not xwamp. so i have error Call to undefined function mysql_real_escape_string() so i change my code into $name = mysqli_real_escape_string($db, $_POST['name']); so after that there no any error.but don't update the database. how i solve it??? please help me.. thank you.
@euroseleonida9373 жыл бұрын
Thank you sir for this tutorial it helped us a lot on the system we are working on right now for our final requirement :)
@pavant87613 жыл бұрын
Hi... What is the purpose of SESSION concept here? Why to use especially? Plzz clear to this novice. Tq
@emilcruz30873 жыл бұрын
i cant fix it line 25 Whats the problem uncaught undefine why?? plsss tell me what is the problem in line 25 >??
@robertdeanmarti57493 жыл бұрын
the delete button last part of the video doesn't work on my web delete when I click the delete nothing happen
@coffelova3 жыл бұрын
same for me, i don't know how to fix it
@muthokabrian21384 жыл бұрын
thanks melvine,,your code well illustrated and works perfectly
@hamzahaider5401 Жыл бұрын
I'm not get source code who you have draw in description
@hamadmobeen59233 жыл бұрын
Really appreciate your video. Taught me a lot. Great content. Keep up the good work.
in address update getting this error "mysqli_fetch_array() expects parameter 1 to be mysqli_result"
@armandnduwamungu413 жыл бұрын
how come mysql_real_escape_string is unidentified for me
@rasangalakshith11413 жыл бұрын
adarei assignment eka goda dammata. ummmmmmmmwah
@akhilkazi14544 жыл бұрын
How to count deleted and inserted rows in same page.
@reybasilio60756 жыл бұрын
This is GREAT and LEGIT! Thanks AWA! Upload videos about security please!!!
@arrontaylor56134 жыл бұрын
Keep getting an error undefined variable “edit_state”
@marcos.wilson3 жыл бұрын
u just save my life dude! tuvm
@haribalakrishnan1623 жыл бұрын
thank you so much bro.its very timely help for me bro
@trixiesherlacpregil40362 жыл бұрын
can i have the source code for this? im having a hard time trying to fgure out the errors
@tutyhutabarat63106 жыл бұрын
The message showed that it was updated but the letters didn't change. Help me!
@philt75684 жыл бұрын
By the is there a way where you have a third button and once you click on it it remove the data and insert it to another table database?
@kebronsolomonzerie35233 жыл бұрын
You saved my life bro thank you
@trekwithchetaas5 жыл бұрын
Very Helpful Video Bro Thank You
@luzvimindab.mollaneda89643 жыл бұрын
why update records codes don't work for me?
@mhmzdev4 жыл бұрын
Jani you are great! English: You are great brother
@Arthursama252 жыл бұрын
Awesome tutorial, it helped a lot!
@mdenamulhasan47873 жыл бұрын
Thanks I was humbly needed
@antonioaquino89546 жыл бұрын
Bro this is a life saver. damn it! Good Job!
@gurudevtechno67885 жыл бұрын
THANK U SO MUCH CODER.....IT WORKS PERFECTLY
@babydimplesz645 жыл бұрын
GuruDev Techno how did you do it? I can’t do it 😔😔
@ralphtalaro37255 жыл бұрын
Hi sir i have problem on update Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in C:\xampp\htdocs\crud\server.php:24 Stack trace: #0 {main} thrown in C:\xampp\htdocs\crud\server.php on line 24
@ralphtalaro37255 жыл бұрын
this code work for me. $name = mysqli_real_escape_string($db, $_POST['name']);
@knzdespair4 жыл бұрын
PLEASE HELP ME WITH THIS PROBLEM " Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\crud\index.php on line 8 " It occurs when I'm clicking the EDIT BUTTON....
@denniskipkoech5666 жыл бұрын
Thanks, the soruce code was well minimalist
@KkKk-og3of4 жыл бұрын
Really very best method thank you sir
@apolovzla_ccs5 жыл бұрын
i know this question may sound stupid but... how... how did you copy code from the html file and copied it to the css file and it was all set just by copying it? Once again, I know it may sound stupid but... how? 😵
@rmedia34674 жыл бұрын
what r u clicking at 12:10
@ruthvitech49255 жыл бұрын
help me---- in update process--- its not going to update/edit data..its updating new row of record..how to slove this...
@jonyhernandez22564 жыл бұрын
Men pleaseee! help me, i have a select list with fk on another table, and the edit dont work... help meee
@fts1293 Жыл бұрын
Can anyboy help with the source code? In the video and on the site it seems other code is mixed together. On the website tutorial the code is different from here. Anyone got it working on php 7 ?
@syahira77864 жыл бұрын
Sir why when i updated selected row it updated all rows with the same information. Pls help me!
@myfav34055 жыл бұрын
Can u help me?, i'm still new in php,html and css. how did you paste those syntax in css. What is the shortcut key to copy in the index.php to paste into style.css. Does sublime text need to download some plugin in order to do that.? Thank you
@michaelpulga77605 жыл бұрын
please help!!! if i click save then the record will be saved on the database but when i refresh on the page after i click save the record on the database will duplicate. its like its saving again if you refresh after you click save. how to fix this? TIA
@noirblack73603 жыл бұрын
Again, thank you for exsisting.
@charlesbaylon66006 жыл бұрын
the .msg css not working, the same with fetching the record to be updated. Wtd? Thank u
@abimbolaayo6584 жыл бұрын
Hi, I just tried using this code, the Name and Address are throwing errors. I am also unable to save , edit or delete.
@camillo99996 жыл бұрын
Could you help me with my problem? I got stuck in 21:25, when I check "Edit", the fields are fill up first's values and next I click on the another "Edit" and nothing is changing, I see still first postion, in the belt of address of page is this "localhost/phpcrud/index.php?edit=0". I use PHP 7.2 so I changed mysql to mysqli but it doesn't work :-(
@camillo99996 жыл бұрын
I solved the problem, i had a problem with my database, i didn't have autoincrement option in ID, i changed that and now everything is OK;-)
@owaisipoetry64126 жыл бұрын
Thank you for very helpful video. Keep doing. all the best
@marshallmathers10476 жыл бұрын
Man you are the best...I got solution completey..
@archanasharma14846 жыл бұрын
Plz help me i have use mysqli bt my edit button znt updating d table
@ofirt76 жыл бұрын
Thank you for the great tutorial! I have one question though when I click on "edit" or "delete" the page is refreshing and I see in the video that your page isn't refreshing on every click, do you know how can I fix it?
@souhayleBartale3 жыл бұрын
great job, thankyou
@Sajib-qb5py4 жыл бұрын
how u get css code just a one click
@simplynmadula87835 жыл бұрын
No connection with database. HELP. Beginner feels huhu 😖 I am using wamp
@danielmolla12392 жыл бұрын
Thank you! You saved me!
@buzznut6 жыл бұрын
YESSSS YOU ARE A LEGEND !!, THANKS ALOT
@viniciustinga7 жыл бұрын
Thanks a Lot....Awa Melvine!!!
@animalinstinct20233 жыл бұрын
Thank you very much!
@lukedodson34416 жыл бұрын
everything working thanks for the help
@azuretasugach61243 жыл бұрын
it works nicely
@shivamnamdeo68675 жыл бұрын
i wna minor updates if rows have same data then delete option shows on both rows if (rany row==any row){ then delete option will show both rows and delete those rows } kindly rlp yyyy mee about thissss
@sakuramikan016 жыл бұрын
"no date resources are configured to run this sql" name is fine but in address, it displays that message. i wonder what was wrong
@Ireland19815 жыл бұрын
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in /opt/lampp/htdocs/PhpCrud/index.php on line 65 Please help
@zoranmarkovic12955 жыл бұрын
I have the same problem. I can't find a solution.
@chowdhurymobarrathaider90525 жыл бұрын
github.com/adnanchowdhury007/CRUD here is the full code
@serdarkshadow24552 жыл бұрын
@@chowdhurymobarrathaider9052 thank you, the codes runs really well.
@whitee02726 жыл бұрын
salut j'essaye de suivre votre projet pas pas tout allé bien jusqu'au partie de la SESSION le probleme c'est que le code css ( .msg ) ne marchait pas pour cette partie merci de m'aider svp
@Andres332607 жыл бұрын
thanks for share your knowledge, I can learn easily...
@AwaMelvine7 жыл бұрын
Thank you Andres. I'm glad it helped.
@Rohit-si5uf5 жыл бұрын
superb bro your source code helped me.
@veinoyusuf41017 жыл бұрын
Parse error: syntax error, unexpected end of file, expecting elseif(T_ELSEIF) or else(T_ELSE) or endif(T_ENDIF) in...myfile. Please reply as soon as possible. Thank u!
@rjmacalino31866 жыл бұрын
you initialize the value of ID = 0; if you create another record then the record will have 0 ID then you won't be able to create another record because you already have a record that has "0" ID and as you may know the ID is primary key.
@saacmntnz6 жыл бұрын
thats my problem. how to solved it?
@valentinbuliga17756 жыл бұрын
make id auto_increment
@yelarysbadelkhan91016 жыл бұрын
Hello guys, from where he takes the path to database? He wrote ('localhost','root', '', 'crud'), in time: 7:14.
@whitee02726 жыл бұрын
from the folder where there is your program his folder's name is Crub and yours you should put it on "www" if you are working with wampserver
@asahinamikage68186 жыл бұрын
THANK YOU VERY MUCH BROOO! AWESOME VIDEO!
@omara2296 жыл бұрын
@Awa Melvine Hey I don't get the source code? What is that? Do I have to turn it into .php?
@AwaMelvine6 жыл бұрын
Hey Omar Ali, you can get the source code here: goo.gl/UzEuDt Thanks for watching
@keerthanarajeev13285 жыл бұрын
You are a blessing!!
@temirkhanamanbaev424 жыл бұрын
Thanks man, good job!
@azkanabilahauliyaurrohman26283 жыл бұрын
hai can you answer im following all the codes everything work except update it not change after I update the data
@azkanabilahauliyaurrohman26283 жыл бұрын
and after all this is the only one tutorial that help me in CRUD a lot so thankyou verymuch
@snehasishdebnath73305 жыл бұрын
data is not inserting in the database .pls help
@varshaganger87984 жыл бұрын
thank a lot sir these code is helpful to me as i try in other site video
@aiswaryasatheesh88633 жыл бұрын
Thank you sir..❤️😊
@safouanelharrak36603 жыл бұрын
it's work thank you Sir
@andalesjasminepearly.93082 жыл бұрын
Uncaught TypeError: mysqli_fetch_array(): Argument #1 ($result) must be of type mysqli_result, null given in C:\xampp\htdocs\php_crud app\index.php:17 Stack trace: #0 C:\xampp\htdocs\php_crud app\index.php(17): mysqli_fetch_array(NULL) #1 {main} thrown in C:\xampp\htdocs\php_crud app\index.php on line 17 how to fix this sir? plz help me
@saidajaraam52556 жыл бұрын
thanks for this vedio it's very usefull for me
@mohamedriyas6454 жыл бұрын
This code how to create popup model edit delete button
@pakde_ka6 жыл бұрын
how you make the css script automatic like that ?
@fuadmuhammadn.76585 жыл бұрын
I wanna ask, what sublime plugin do you use in this video?