An open API service indexing awesome lists of open source software.

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

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.