unknown error
Posted: Mon Apr 30, 2007 7:44 am
Warning: mysqli::prepare() [function.mysqli-prepare]: All data must be fetched before a new statement prepare takes place in menu.class.php on line 185
Code: Select all
function GetByParent ( $parent_id, $menu_id )
{
global $mysqli;
var_dump($menu_id);
LINE 185 $stmt = $mysqli->prepare("call menu_itemsGetByParen_proc(?)");
$stmt->bind_param("ii", $parent_id, $menu_id);
$stmt->execute();
$aRet = array();
while ( $row = $stmt->fetch() ){
$clObject = new menu_itemsInfo ( $row["id"], $row["menu_id"], $row["parent_id"], $row["menu_item_name"], $row["url"], $row["accesskey"] );
array_push ( $aRet, $clObject );
}
$stmt->close();