PHP code example of herminigildosebastiao / dumpdatabase
1. Go to this page and download the library: Download herminigildosebastiao/dumpdatabase library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
herminigildosebastiao / dumpdatabase example snippets
//Carregamento do autoload
use HerminigildoSebastiao\Dump\Dump;
//Instância da classe
$dump = new Dump("nome_do_usuario_do_banco_de_dados", "senha_do_banco_de_dados", "nome_do_banco_de_dados", "nome_do_usuario_logado_no_servidor");
//Execução do método de cópia de segurança
$dump->database();