PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Elminson De Oleo   Table from Insert   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Table from Insert
Generate create table SQL from an insert query
Author: By
Last change:
Date: 6 years ago
Size: 334 bytes
 

Contents

Class file image Download
<?php

namespace Elminson\SqlToTable;

require_once
__DIR__ . '/vendor/autoload.php';

/**
 * Created by edeoleo@gmail.com.
 * User: Elminson De Oleo Baez
 * Desc: ...
 * Date: 7/30/2018
 * Time: 1:20 PM
 */

$sql = new SqlToTable();
try {
    echo
$sql->create_backup($argv[1]);
} catch (\
Exception $e) {
    echo
$e->getMessage();
}