PHP Classes

File: SqlGenerateFunction

Recommend this page to a friend!
  Classes of Minnur Yunusov   SQL String Generator   SqlGenerateFunction   Download  
File: SqlGenerateFunction
Role: Example script
Content type: text/plain
Description: Additional function for the class
Class: SQL String Generator
Generate SQL queries from parameters
Author: By
Last change:
Date: 17 years ago
Size: 557 bytes


Class file image Download

    Author: Minnur Yunusov
    // sql_generate(args array, values array, table_name string, type int [, additional_string string] )
function sql_generate($args, $values, $table_name, $type, $additional_string = '')
$CallClass = new SQLStringGenerator();
$CallClass -> load_vars($args);
$CallClass -> in_array_only($values);
$CallMethod = $CallClass -> type($type, $table_name, $additional_string);