ajaxCRUD.com

» a PHP class to Create, Read, Update, & Delete from a mysql database table using AJAX

   by loud canvas media

AjaxCRUD Class Documentation / Reference Material

<< Reference overview
<< Home

addWhereClause

adds a 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 > '1984-10-11'");

See also

New, Edit

 

"I love ajaxCRUD! It's saved me hours upon hours of typing!"
~Eric Duwenhoegger

What is a business/commercial website?

A commercial website is one created for a business, for which purpose is generating revenue or cash flow of any type (and that isn't under a non-profit organization). So if you're selling a product, selling advertisement, selling a service, or just marketing a commercial business, your site is commercial. A company website is also commercial even if it doesn't sell anything, as it's purpose is to front a commercial company.
Close