[ ], // laod query 'load_query' => '', // database table to load from 'table_name' => '', // for load dro pdown, format output 'show_fields' => [ [ 'name' => 'name' ], [ 'name' => 'enabled', 'binary' => ['Yes', 'No'], 'before_value' => 'Enabled: ' ], ], // a multi reference entry 'element_list' => [ ] ]; $log = new CoreLibs\Debug\Logging([ 'log_folder' => BASE . LOG, 'file_id' => $LOG_FILE_ID, // add file date 'print_file_date' => true, // set debug and print flags 'debug_all' => $DEBUG_ALL ?? false, 'echo_all' => $ECHO_ALL ?? false, 'print_all' => $PRINT_ALL ?? false, ]); $form = new CoreLibs\Output\Form\Generate(DB_CONFIG, $log, table_arrays: $table_arrays); $PAGE_NAME = 'TEST CLASS: FORM GENERATE'; print ""; print "" . $PAGE_NAME . ""; print ""; print '
Class Test Master
'; print '

' . $PAGE_NAME . '

'; print "MOBILE PHONE: " . $form->mobile_phone . "
"; // sets table array to include print "MY PAGE NAME: " . $form->my_page_name . "
"; // error message print $log->printErrorMsg(); print ""; // __END__