Thanks for these suggestions. I have tried mysqli_fetch_fields() and mysqli_list_fields() as well as the second suggestion (just now) and always get a reply telling me:
Fatal error: Cannot use object of type stdClass as array in /usr/local/www/htdocs/rti/_blahblah.php on line 'n'
I CAN print_r($Q_Result) when I add the following code under the line
...
$columns=mysqli_num_fields($Q_result); // for width of table/top line
$colNAMES=mysqli_fetch_fields($Q_result); // field names?
print_r($colNAMES); // I can SEE all the table info/field names here, but I can't seem to tap it to get the fieldname values.
...but if I try to iterate through it, again I get the error that I "Cannot use object of type stdClass as array"
So, still no luck....
I'm wondering if there is some way to convert convert $colNAMES into an array that I can actually USE?