Simple MySQL Export Function
PHP Scripts – Simple MySQL Export Function | CodeCanyon
Simple MySQL Export Function his title this type of PHPScripts/Miscellaneous This time I will review,made by NorthernOptic, PHPScripts/Miscellaneous is sold at a price of $4 in themeforest.
backup // contents // database // export // function // mysql // mysqldump // mysqli // sql file //
Created | 22 October 13 |
Last Update | 22 October 13 |
Compatible Browsers | IE6, IE7, IE8, IE9, IE10, Firefox, Safari, Opera, Chrome |
Software Version | PHP 4.x, PHP 5.x, PHP 5.0 – 5.2, PHP 5.3, PHP 5.4, PHP 5.5, MySQL 4.x, MySQL 5.x |
High Resolution | No |
Files Included | HTML, PHP |
A simple PHP function to get the contents of a MySQL database (uses MySQLi) as SQL (which can be saved as a .SQL file).
This is a simple PHP function that will return the contents of a MySQL database, complete with structure and content of all tables. You can implement this function however you please; whether to save the output as a file, to copy one database to another or to do something different (see examples for programmed examples). This function can be run in just 2 lines of code, one to include the function and one to run it. This does not require mysqldump and does not require administrator or sudo access. The output provided can be used to recreate and restore the entire database, from the structure to the content of every single inpidual table.
This script comes with documentation that includes coded examples on how this function can be used (see the demo for more info), the code for the function is fully annotated.
Related produck This user:NorthernOptic
0 comments:
Post a Comment