PHP code example of mmantai / query-builder

1. Go to this page and download the library: Download mmantai/query-builder 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/ */

    

mmantai / query-builder example snippets




if(file_exists(__DIR__ . '/vendor/autoload.php')) {
    QueryBuilder();

$query = $builder->selectAll()->from("customer", "c")->where("rowid", ">=", "12345");
// query: SELECT * FROM customer AS c WHERE rowid >= 12345