$arr ) { //if ($name=='Song Quiz') mysql_query("INSERT INTO portfolio SET link = '".mysql_real_escape_string($arr["link"])."', name = '".mysql_real_escape_string($name)."', image = '".mysql_real_escape_string($arr["image"])."', short_description_bg = '". mysql_real_escape_string($arr['description']['bg'])."', short_description_en = '". mysql_real_escape_string($arr['description']['en'])."', type = 1 "); } * */ global $lang; global $title; $title = $lang['portfolio_title']; $portfolio = mysqli_query($GLOBALS['db'], "SELECT id, name, image, short_description_{$lang['id']}, type FROM portfolio WHERE active = 1 ORDER BY sortorder ASC, type DESC"); ?>