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 :: addButton - Use PHP & AJAX to CRUD from a mysql database table (create / read / update / delete)


» 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


adds a button to the bottom of the page
void addButton ( String buttonValue, String URL, [ String tags = "" ] )
Use this function when you want to provide easy navigation to another page (for easy processing). It inserts a button at the bottom of the page right next to the "add item" button.

You can use the optional tags parameter to attach events to a button.


Type function
Returns void


Button value
The value of the button (ie the text displaying on the button).
The page to go to (ie .php, html, asp page...).
[optional] tags
javascript tags (eg onClick, onMouseOver, etc)


$tblDemo->addButton("Home", "index.php");

See also

New, Edit


"Very interesting class. Thanks a lot."

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.