Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 628 Bytes

File metadata and controls

20 lines (16 loc) · 628 Bytes

generate-pdf-from-mysql-database-using-php

The full tutorial can be found @ 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.