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

displayAs

displays the field name in the table under a pseudonym
void displayAs ( String fieldName, String fieldDisplayTitle )
Use this function to refer to a database field as another name (ie if your fields all have a prefix you can remove them when displaying them).

This display title is referred to in all places in the table (adding & editing)

Details

Type function
Returns void
Default actual field name

Parameters

fieldName
The database field you want to display under another name
fieldDisplayTitle
The alternate title to display

Example

$tblDemo->displayAs("fldMyField", "My Field");
New, Edit

 

"just what i [was] look[ing] for..."
~Sergey

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