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

addAjaxFilterBox

adds a search box at the top of the page
void addAjaxFilterBox( String fieldName, [ int textBoxSize = 10 ])
Use this function when you want to be able to search your table by a field. This function allows only ajax-based searching (which is best) and searches "as you type"

Details

Type function
Returns void

Parameters

fieldName
name of the field you want to search by
[optional] textBoxSize
size/length of the textbox

Example

$tblDemo->addAjaxFilterBox('fldFamilyName');

$tblDemo->addAjaxFilterBox('fldFamilyName', 15);

See also

New, Edit

 

"GREEEAT functions! Easily understandable code, I`m loooovving it. Great work! :D "
~Svend Koustrup

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