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

orderFields

sort the fields order in the database
void orderFields ( String fieldList )
Use this table if you want to rearrange the order of the database table without having to change the database table schema

Details

Type function
Returns re-sorted fields in table
Default order in database schema

Parameters

fieldList
A list of fields (comma delimited) in the order you want to show them.

Example

$tblFriend->orderFields("pkFriendID, fldAddress, fldName, fldState");

See also

New, Edit

 

"OMG! This is just what I was looking for. Thanks so much. This is amazing!"
~Simone

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