Time for action – presenting the data

If you look into the code section, you will see that the code segment begins with creating the form that is needed for the action items to work. It then goes on and checks the size of the array which has been created earlier. If the array contains items, it continues with creating the table header ($menu_text).

Let's look into the relevant part for actually displaying the data you retrieved in the previous step. This part can be found in the cbEnhancedInfo_listInformation.php file of Example 4:

// The html header will contain a checkbox, so the end-user can // select all items on the table at once. html_header_sort_checkbox( $menu_text, $_REQUEST["sort_column"], $_REQUEST["sort_direction"] ); // This variable ...

Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.