php foreach object in array code example
Example: foreach stdclass object php
foreach ($this->_daoh->listar() as $intIndex => $objRecord) {
print "$intIndex => {$objRecord->name}\";
}
foreach ($this->_daoh->listar() as $intIndex => $objRecord) {
print "$intIndex => {$objRecord->name}\";
}