PHP code example of the-sage-colleges / dml-php

1. Go to this page and download the library: Download the-sage-colleges/dml-php 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/ */

    

the-sage-colleges / dml-php example snippets




use Sage\DSX\DML;

class foo {
	public function bar() {

        $dml = new DML();

        $dml_cmds = array();
        $dml_cmds[] =  $dml->set_table('users');
        $dml_cmds[] = $dml->set_id('99999000');
        $dml_cmds[] = $dml->cmd_delete();

        $cmd_string = implode("\n", $dml_cmds);

        // Write commands to dsx directory
    }
}

bash
composer