![]() How to create a system that allows a user to add/edit/remove data in a database seems to be a commonly asked topic, so I may adapt this into an actual tutorial at some point in the future. I'm also happy to help with any questions (please post questions in a new topic.) I know it may seem a lot to understand at first, but read all the comments in the code - I try to explain what I am doing step by step. This is just a basic starting point for projects that require view/edit/delete functionality. The code I've created could be a starting point for that (it only includes fields for their first name/last name, but could obviously could be expanded to use more fields). It's a basic system that allows you to:īasically, just imagine that you are in charge of a sports team, and you want to keep a list of all your player's contact information. Yes, I realize I could use OOP, or could separate some of these out into methods, etc. Do realize that it is intended for beginners, so I didn't want to do anything too advanced that might lead to confusion. If there are issues I haven't noticed, please let me know. (Anyone with PHP knowledge is welcome to comment on the code. Check out our new Interactive Web Developer course (created in 2016) that covers this, and much more: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |