How to – Using PHP To Backup MySQL Database

Naseer Ahmad

I am Naseer Ahmad Mughal from Islamabad (Pakistan). I have been working as a Manager Development at SyntecX from last 4+ years, and its my passion to learn new things and implement them as a practice. I am also work as freelancer as well as a volunteer web development expert who loves to learn through innovative ideas and inspiration. You can find me online at LinkedIn & Twitter

You may also like...

2 Responses

  1. Naseer Ahmad says:

    In terms of files mentioned in the code are general.

    1. Config.php: This file only have database configurations like, hostname, username, password and database name of MySQL.
    2. opendb.php: Its only open MySQL connection like
    < ?php mysql_connect('hostname','username','password'); mysql_select_db('databasename'); ?>
    3. closedb.php: this file will close MySQL connection.

    I hope you understand my points. If not tell me i will provide you sample codes files.

    Naseer Ahmad

  2. aaa says:

    where is the config, opendb and losedb php files?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.