Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


trying to get property of non object in


trying to get property of non object in  using -'on,Control,page:

<?php
,,include,'pages/db.php';,
,,$results,=,mysql_query("SELECT,*,FROM,sidemenu,WHERE,`menu_id`='".$menu."',ORDER,BY,`id`,ASC,LIMIT,1",,$con);
,,$sidemenus,=,mysql_fetch_object($results);
?>

on,View,Page:

<?php,foreach,($sidemenus,as,$sidemenu):,?>
,,<?php,echo,$sidemenu->mname."<br,/>";?>
<?php,endforeach;,?>

Error,is:

,,Notice:,Trying,to,get,property,of,non-object,in,C:\wamp\www\phone\pages\init.php,on,line,22

Can,you,fix,it?,I,don't,have,any,idea,what,happened.'

asked Oct 6, 2015 by mtabakade
edited Oct 6, 2015 by rajesh
0 votes
17 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...