Basic Table
The basic table displays a responsive table on your page, you can use this function to display data using a query that you supply in.
Structure
responsiveTable($title = "Table title", $dataquery, $sizeclass = "col-12")
Parameters
The responsive table has 3 parameters only that we will explain below
Title- This will be the title displayed for this table
Data Query- This is an sql query that you will pass in using the sql() inbuilt Appgini function to fetch data.
Size- This is the size class for this table , default is col-12
Example Usage
echo responsiveTable('Shippers',sql("SELECT * FROM shippers",$eo),'col-12');
The output

Last updated