PHP CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fpdf Implemented database Mar 28, 2016
README.md Update README.md Nov 23, 2016
books.sql Added settings into readme Mar 28, 2016
database.php Implemented database Mar 28, 2016
index.php Implemented database Mar 28, 2016

README.md

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.