» a PHP class to Create, Read, Update, & Delete from a mysql database table using AJAXby loud canvas media
AjaxCRUD Class Documentation / Reference Material
<< Reference overview
disallows a field to be edited
void disallowEdit ( String fieldName )
Use this function to disable the ajax editing of a field in a table. This is often used for the fields where you want populated with data (on create) and never touched again (eg a Creation Datestamp). This function can be used in conjunction with the addValueOnInsert method, so that fields such as "fldCreateDate" can be set when a row is created and then is not editable afterward.