I am having a brain fart in trying to retrieve data from an array:
here is the print_r() of it:
DB Object
(
[_pdo:DB:private] => PDO Object
(
)
[_query:DB:private] => PDOStatement Object
(
[queryString] => SELECT * FROM employers WHERE id = ?
)
[_error:DB:private] =>
[_results:DB:private] => Array
(
[0] => stdClass Object
(
[id] => 2
[employer] => SimpeQ
[address] =>
[city] =>
[province] =>
[country] =>
[postalcode] =>
[phone] =>
[fax] =>
[email] =>
)
)
[_count:DB:private] => 1
)
i want to echo [employer] on my page. how can I extract it from the array?