$table, "id" => $id, "database" => $database, "user_db" => $database ); $results = logs::get_logs($context_notes); if(count($results)> 0) { foreach($results AS $result) { echo $result['description']." BY ".$result['submitter']." on ".$result['date']."

"; } } else { echo "No History Available!"; }*/ $context_logs = array( "show_pagination" => false, "show_search" => false, "table" => $table, "id" => $id ); $logs = new list_logs($context_logs); $logs->get_data()->show(); ?>