ajaxCRUD.com
» a PHP class to create / read / update / delete from a database table using AJAX
by loud canvas mediaAjaxCRUD API Reference
|
<< Reference overview << Home Object: ajaxCRUDConstructorFunctions
Variables |
ajaxCRUDconstructor for instantiating the class
(String buttonText, String dbTableName, String dbPrimaryKey) This constuctor is used to instantiate the PHP object. You must pass in the three required values and this will create your ajaxCRUD object!
ButtonText: Details
Example$tblDemo = new ajaxCRUD("Apple", "tblApples", "pkAppleID");
Example2: ajaxCRUD("ITEM", "TableName", "pkItemID") will yield an ADD button that says "Add ITEM" Example3: ajaxCRUD("PERSON", "TableName", "pkPersonID") will yield an ADD button that says "Add PERSON" See also |
"Brilliant. Saved insane amounts of time. `nuff said."
~Soule
