https://github.com/itswadesh/generate-pdf-from-mysql-database-using-php
https://github.com/itswadesh/generate-pdf-from-mysql-database-using-php
database mysql pdf php
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/itswadesh/generate-pdf-from-mysql-database-using-php
- Owner: itswadesh
- Created: 2016-03-28T14:32:04.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-23T04:46:11.000Z (over 9 years ago)
- Last Synced: 2025-03-24T20:12:41.916Z (over 1 year ago)
- Topics: database, mysql, pdf, php
- Language: PHP
- Homepage: http://angularcode.com/generate-pdf-using-php-mysql/
- Size: 22.5 KB
- Stars: 12
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# generate-pdf-from-mysql-database-using-php
The full tutorial can be foud @ http://angularcode.com/generate-pdf-using-php-mysql/
##Import data
Import books.sql into your MySQL
This will create necessary tables and insert sample data into it.
##Change the settings
You need to change the following database settings in **database.php**
private $host = "localhost";
private $user = "root";
private $password = "root";
private $database = "crud";
##Run the program
Copy the project into your PHP servers root directory and access the index.php
This should create the PDF page and display it in the browser.