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

showOnly

show only a few fields from your table instead of all of them
void showOnly ( String fieldList )
Use this function when you have a large table and only want to show a FEW fields by default instead of all of them. This prevents you from having to call omitField, omitAddField or omitFieldCompletely for each field you don't want to show. You can also use this function to REORDER your database fields (different from the order defined by your schema), if desired.

Details

Type function
Returns
Default all fields

Parameters

fieldList
A list of fields (comma delimited) you want to show.

Example

$tblDemo->showOnly("fldTitle, fldName, fldPhone");

See also

New, Edit

 

"Thanks for the great script, you rock big time."
~Daniel

What is a commercial website?

A commercial website is a website 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