PHP PROJECT

README.md

Add, List, Edit and Delete

Add, List, Edit and Delete records in MySQL tables. It can connect to a MySQL database using MySQLi and generate listing of records of a database table with support to paginate the listings with a limited amount of records.

Files


NameTypeSizeLast Modified
aed-pager-class.php phpfile icon 2328 11 November 2015 10:49:52
aed-example.php phpfile icon 3163 11 November 2015 10:49:52
aed-config.php phpfile icon 462 11 November 2015 10:49:52
aed.sql sqlfile icon 263 11 November 2015 10:49:52
aed-class.php phpfile icon 2924 11 November 2015 10:49:52
aed-template.htm textfile icon 1685 11 November 2015 10:49:52

Source

  1. <?
  2. error_reporting(E_ALL);
  3. ini_set("display_errors"1);
  4. $output=array();
  5. //------------------ editable ------------------------
  6. define('DB_HOST''localhost');
  7. define('DB_NAME''');
  8. define('DB_USER''');
  9. define('DB_PASS''');
  10. $table="ulogin";
  11. $filename="aed-example.php";
  12. $perPageDiaplay=12;    
  13. $primeryKEY='id'// Table Primery Key - Default = id;
  14. $fieldRequire="ALL";
  15. // ALL or requre field eg: $fieldRequire="username, password, email";
  16. ?>

Demo

You can find a demo available here: aed

Requirment

  • mySql
  • PHP >= 5.4
  • Apache Server

Contribute

  • Vishv Sahdev

Example

>>

Download