PHP Archive

How to Create pdf file in php

1. Before creating a pdf file in php, first you have to download fpdf from fpdf.org 2. Its a php class that allows to create pdf file without using the pdf library 3. Below are the simple

Backup and Restore MySQL database using php

<?php $conn = mysql_connect('hostname', 'username', 'password'); if(! $conn ) { die('Could not connect: ' . mysql_error()); } $table_name = "shop"; $backup_file = "shop.sql"; //Backup of any table