PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Matus SOPKO   SQL Query   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: SQL Query
Generates SQL Query from dynamic parameters
Author: By
Last change:
Date: 19 years ago
Size: 300 bytes


Class file image Download
= new SqlQuery("insert");
$sql -> Add("col","col1");
$sql -> Add("col","col2");
$sql -> Add("value",$val1);
$sql -> Add("value",$val2);
$sql -> Add("table","table");
$sql -> Add("where","col1='something'");
$sql -> Add("orderby","col1'");