ajaxCRUD.com

» a PHP class to create / read / update / delete from a database table using AJAX

   by loud canvas media

AjaxCRUD API Reference

<< Reference overview
<< Home

addWhereClause

adds an sql "where clause" to the query
void addWhereClause ( String whereClauseSQL )
Use this function when you do not want to display ALL rows in the table but only ones that meet certain conditions.

Details

Type function
Returns void
Default null

Parameters

whereClauseSQL
SQL where clause (must begin with "WHERE"...)

Example

$tblDemo->addWhereClause("WHERE (fldCreateDate > '10-11-1984'");

See also

New, Edit

 

"Excellent!! Very Nice and simple!"
~Bahassine