Very simple add, edit, delete, display in PHP
Before I had posted an article to add, edit, delete, and display contents. I had also included sessions there. There was the facility to login and register users too.
But i got feedback that it was a bit complex for novice users of PHP (users who have just started PHPing). It was a kind of full-fledge system with PHP, MySQL and session.
So in this article, I have simplified the same functionality of the above tutorial. I have not used session in this case. If you want tutorial about session, login, and register then you can refer to my previous article (the link which is provided above).
Files included in this tutorial/code:
users.sql = This contains sql queries to make MySQL database and table
config.php = contains the database connection code (this file is included in all the php pages with the include() function)
index.php = contains the display part (displaying data from database)
add.html = contains form to add data
add.php = contains php code to add data
edit.php = contains php code to edit data
delete.php = contains php code to delete data
Download full source code: Create, read, update, delete in php and mysql
Cheers,
Related posts:
- Add, edit, delete, login, register in PHP :: A simple and complete tutorial
- Magento: How to delete System Attribute?
- Magento: How to select, insert, update, and delete data?
- Magento: How to delete / remove extension from MagentoConnect?
- Session Handling in PHP
- Magento: Create, read, delete cookie
- Simple and easy jQuery tabs with AJAX and PHP
- Inheritance in PHP :: A Simple Example
- Magento: Product Edit Warning: Invalid argument supplied for foreach()
- Creating dynamic table in PHP : Easy and Simple tutorial
