Installing DBViewer
DBViewer's installation is simple and straightforward. You just need to edit a configuration file, and upload the script via FTP. No fancy installation is necessary.
Unzipping the script archive
After purchasing DBViewer from our site, you've downloaded a zip file containg the script. The first step is to unzip the archive somewhere on your hard drive. You end up with a dbviewer folder, which contains the script files, and a developer folder, which contains the PSD files you can use for customizations.
Editing config.php
Open up dbviewer/assets/includes/config.php in your favorite code or text editor. In this file, you need to specify the MySQL login details the script will use to login to your database.
<?php /* Database config */ $db_host = ''; $db_user = ''; $db_pass = ''; $db_database = ''; /* End config */ $table_name = 'Country'; $per_page = 20; $scriptTitle = "DBViewer 1.0 Demo"; ?>
After you fill in the details in the "Database Config" section, you must specify the name of the table the script is going to display in the $table_name variable. You can also change the results per page and the title of the script.
Uploading
You need to upload the contents of the dbviewer folder, along with the modified config.php file, somewhere on your site. You can upload the script to a separate subdomain or a subfolder. It is only important to make the address descriptive, as this is the URL that will be visible to your visitors.
For uploading the folder to your hosting account, you can use any FTP client.