Skip to content

In this Project, I am going to show you how you can create a simple CRUD in PHP with search and pagination functionality. For front end or user interface, I use Bootstrap 4 you can use any design framework as per your need.

License

Notifications You must be signed in to change notification settings

kazalbrur/PHP-CRUD-Search-Pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple Crud application with create update delete , search and pagination features.

To run this project :

  1. Kept your code directory "curd" into htdocs

  2. Create a database named "test" and import the "addressbook.sql" files or manually create a table named "users" as

    CREATE TABLE `users` (
      `id` INT NOT NULL AUTO_INCREMENT ,
      `username` VARCHAR(64) NOT NULL ,
      `useremail` VARCHAR(128) NOT NULL ,
      `userphone` VARCHAR(24) NOT NULL ,
      `dt` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP() ,
      PRIMARY KEY (`id`)
    ) ENGINE = MyISAM;
    
    

and insert some data into the "users" tables.

  1. Check config.php file and change the following line accroding to your database schema:

    define('DB_NAME', 'test');
    define('DB_USER', 'root');
    define('DB_PASSWORD', '');
    define('DB_HOST', 'localhost');
    
  2. Go tho the broser and hit the url as :

    localhost/crud

  3. Wow !! We are in our Address book Application.

About

In this Project, I am going to show you how you can create a simple CRUD in PHP with search and pagination functionality. For front end or user interface, I use Bootstrap 4 you can use any design framework as per your need.

Resources

License

Stars

Watchers

Forks

Packages

No packages published