Warning: include_once(/home/loudcanv/public_html/includes/location_functions.php): failed to open stream: Permission denied in /home/ajaxcrud/public_html/preheader.php on line 44

Warning: include_once(): Failed opening '/home/loudcanv/public_html/includes/location_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ajaxcrud/public_html/preheader.php on line 44
ajaxCRUD.com » ajaxCRUD API :: omitAddField - Use PHP & AJAX to CRUD from a mysql database table (create / read / update / delete)

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

omitAddField

omits the input field from displaying when adding a row
void omitAddField ( String fieldName )
Use this function if you do not want to add a value when you create a row. It is useful for fields like fldLastModified, etc.

This function will NOT omit the field from being displayed in the table. To do this use omitField. Also: you can use the addValueOnInsert function in conjuntion to set a specific value to the field on row insert.

Details

Type function
Returns void

Parameters

fieldName
The name of the field you do not wish display an input box for (when creating a new row)

Example

$tblDemo->omitAddField("fldLastModified");

See also

New, Edit

 

"Very interesting class. Thanks a lot."
~gustavo

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