I am looking to get the post_image to echo its value main_1.jpg Array ( [0] => stdClass Object ( [post_image] => main_1.jpg ) ) How do I do it? Thanks.
check this out, may it help http://bytes.com/groups/php/609821-accessing-stdclass-object-vars Code (markup):
Please make it more clear , How are you fetching the data from the database .I mean use mysql_fetch_array() which will again give you one array in return. I am not sure if this is what you are looking for. Noddy