Simple CRUD using PHP and FPDF with Source Code

Language

Hi! I have here a Simple CRUD project that was developed using PHP. This project is a simple user registration using the CRUD Operations (Create, Read, Update, and Delete). This project also used FPDF Library for Printing View and Downloadable PDF File feature. My main purpose in sharing this program is to help new programmers or those students or individuals that would like to learn how to create a web application using PHP Language and MySQL Database. This program is an update of my previous Simple CRUD post.

Features

  • Login
  • CRUD Operation
  • Print (FPDF)
  • Download PDF (FPDF)
  • Search from List
  • Logout

This program was developed using HTML, CSS, PHP, MySQL Database, and JavaScript. The program source code is free to download. Feel Free to modify it the way you desire to enhance your programming capabilities. Continue reading for instructions.

How to Run

Requirements

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)

Installation/Setup

  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "registration".
  6. Import the provided SQL file. The file is known as "registraion.sql" located inside the extracted source code folder.
  7. Browse the Simple Registration (CRUD) Web App in a browser. i.e. http://localhost/Login

User Credentials

Username: erwin
Password: 123456

DEMO

I hope this Simple CRUD Project in PHP and MySQL Database will help you with what you are looking for and I hope you will find/learn something useful for your future project.

Enjoy :)

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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Submitted byunseron Fri, 07/21/2017 - 00:37

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\AppServ\www\login\print_all.php on line 10 Fatal error: Uncaught exception 'Exception' with message 'FPDF error: Some data has already been output, can't send PDF file' in C:\AppServ\www\login\fpdf\fpdf.php:271 Stack trace: #0 C:\AppServ\www\login\fpdf\fpdf.php(1063): FPDF->Error('Some data has a...') #1 C:\AppServ\www\login\fpdf\fpdf.php(999): FPDF->_checkoutput() #2 C:\AppServ\www\login\print_all.php(34): FPDF->Output() #3 {main} thrown in C:\AppServ\www\login\fpdf\fpdf.php on line 271

Add new comment