Login   Register  
PHP Classes
elePHPant
Icontem

File: Example

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of djomla  >  SQL builder  >  Example  >  Download  
File: Example
Role: Example script
Content type: text/plain
Description: Example file with usage
Class: SQL builder
Compose SQL queries from parameters
Author: By
Last change:
Date: 3 years ago
Size: 262 bytes
 

Contents

Class file image Download
<?php
$sql 
DBSQLiser::build('SELECT');
$sql->columns('something1');
$sql->from('table');
$sql->where('something = something');
$sql->orWhere('something1 = something1');
$sql->join('other_table''table.something = other_table.something1');
$sql->get_sql();
?>