PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Rahman Haghparast   Where Builder   sample.php   Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: sample on how to use the class
Class: Where Builder
Create SQL WHERE clauses from request parameters
Author: By
Last change:
Date: 8 years ago
Size: 203 bytes
 

Contents

Class file image Download
<?php
require_once 'request.class.php';
//$request = new RequestManager(['unset'=>['option','action','sort']]);
$request = new RequestManager();
$where = $request->getOutput('where');
echo
$where;