I'm sorry about soo many questions about what should be simple things. Ive searched and searched through the documentation, cannot find any way to loop through the fields of a given record.
Lets take your last response a step further:
$query =& $app->getQuery();
$records =& df_get_records_array($query['-table'], $query);
foreach ($records as $record){
}
now within the for loop, I'm trying to get another for loop to go through each field in the record to construct a table:
echo '
';
foreach ($records as $record){
echo '';
-----------------This is where I want to start the for loop for each field in the record----------------
echo ''; -----------------Print the Field data here-------------------------------------------------------------- echo ' | ';
-----------------Ending it here-------------------------------------------------------------------------
echo '
';
//unset($record);
}
echo '
';
I realize this is very sloppy but I just need something for now, then I can clean it up later =)
So far, if I put in the[ print_r($record->strvals()); ] without a loop for the fields, I can get all the record data in a "toString()" type of format, and the table creates as desired. But each record is in one cell and has more information than I want (obviously).
Thanks again for all your help, sorry again for being such a pain.