i am unable to explode an STDclass variable i have values in the object some what like mentioned below, but when i take the dump i get
I have stdClass Object ( [page_path] => 14-45-55 )
. When i try to explode this
$pages = $database->executeObjectList("SELECT page_path FROM tblwebpages WHERE page_id=" . $_GET['id']);
$explodedString = explode('-', $pages->page_path);
print_r($explodedString);
exit;
on taking dump of ($explodedString) i get
Array ( [0] => )
can i know what am i doing wrong if?