HenryCan Posted August 7, 2014 Share Posted August 7, 2014 I'd like to write - or acquire - code that displays a simple table (name, phone number, email address, plus a comments field) on a web page in a password-protected page and allows a user to add his own information, update it or delete it.I figure hundreds of people and companies have written something like this so I'd like to find either an example I can imitate or even an existing package that I can simply customize to the specifics for my own table.Can anyone help me with that? Or am I going to have to reinvent the wheel for the gazillionth time and write it myself? Link to comment https://forums.phpfreaks.com/topic/290326-standard-insertupdatedelete-code-for-a-simple-table/ Share on other sites More sharing options...
Ch0cu3r Posted August 7, 2014 Share Posted August 7, 2014 Look for tutorials on CRUD (stands for create, read, update and delete). Quick google for "PHP CRUD" found this http://www.startutorial.com/articles/view/php-crud-tutorial-part-1 That is a good starting point. If you understood the tutorial you should be able implement the comments field with ease. Link to comment https://forums.phpfreaks.com/topic/290326-standard-insertupdatedelete-code-for-a-simple-table/#findComment-1487117 Share on other sites More sharing options...
HenryCan Posted August 8, 2014 Author Share Posted August 8, 2014 I may be jumping the gun a bit in giving the Ch0cu3r a "Best Answer" for his reply but it will definitely get me started. Thank you for suggesting this tutorial. I've only skimmed it but it looks like it will cover the necessary ground. Link to comment https://forums.phpfreaks.com/topic/290326-standard-insertupdatedelete-code-for-a-simple-table/#findComment-1487168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.