Looking at the site, I see that that will give me also the values. Not only the properties names.

If I do this
PHP Code:
$teste = get_object_vars($objRecord);
var_dump($teste);
I get false, I presume it is because objRecord is an array (of objects, as oddz stated, the the php manual as well...)
If I do this, inside the foreach, like so:
PHP Code:
foreach ($objRecord as $record)
{
$teste = get_object_vars($record);
var_dump($teste);
//for each objRecord we will have a new line.
$xls_file .="\n";
(...)
Then I get properties AND also the values as well.
Bookmarks