PHP PDO: Simple Add, Edit, Delete and Search System

Submitted by: 
Visitors have accessed this post 16701 times.

This is just a SIMPLE add, read, edit, search and delete web system using PHP/Mysql and PDO (PHP Data Objects). It is made for newbie developers, for them to understand it easily and can also be use by developers who are new to PDO. To give you ideas at the same time on how it works. Just email me at [email protected] or visit my website: if there are questions.

For more information about PHP-PDO:

Happy Coding!

public class YourWorld extends myWorld

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


very nice sample

do you have inventory system ?
and with print/design invoice ?



Great I send your a message on your website for more help

okay hehe. got it.
public class YourWorld extends myWorld

beginner lang po me sa PHP.. so very useful po nito sakin.. salamat po seniora..

ikaw nga ang magaling dyan natuto lang din ako sayo at shinishare ko lang mga nalaman ko hehe
public class YourWorld extends myWorld

Thank is great work for beginners

Hi sir you are welcome

Thanks so much I really appreciate your project am a beginner in PHP

no problem sir. will try to post a bigger system than this one.
public class YourWorld extends myWorld

you have incomplete sql.
SQLyog Ultimate v11.11 (64 bit)
MySQL - 5.6.12-log : Database - phpsample

/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!40014 SET @[email protected]@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @[email protected]@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @[email protected]@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @[email protected]@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`phpsample` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `phpsample`;

/*!40101 SET [email protected]_SQL_MODE */;
/*!40014 SET [email protected]_FOREIGN_KEY_CHECKS */;
/*!40014 SET [email protected]_UNIQUE_CHECKS */;
/*!40111 SET [email protected]_SQL_NOTES */;

use restore as sql dump..
public class YourWorld extends myWorld

Thank you for this source code is realy helpful .. thank you for sharing .. :) .. it really works .. have a nice day ..

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.