foreach($catgory as $key=>$value) { foreach($value as $catname=>$catvalue) { echo ($catvalue['title'])."<br/>"; } }
object(stdClass)#22 (13) { ["id"]=> string(1) "3" ["title"]=> string(9) "Project 1" ["user_id"]=> string(1) "2" ["description"]=> string(31) "<p> Project 1 Description</p> " ["keywords"]=> string(20) "fsdfsd fd sfd sd d d" ["category_id"]=> string(1) "1" ["type"]=> string(5) "fixed" ["budget_min"]=> string(10) "4294967295" ["budget_max"]=> string(10) "4294967295" ["created_at"]=> string(19) "2014-01-27 19:05:16" ["updated_at"]=> string(19) "2014-01-29 17:20:01" ["file"]=> string(0) "" ["status"]=> string(7) "pending" }
$catvalue
$value
$catname
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)