0) { $soho_code=mysqli_result($result,0,sno); $use=mysqli_result($result,0,mobile_use); $mobile_type=mysqli_result($result,0,mobile_type); $get_url=mysqli_result($result,0,soho_url); $url=explode(',',$get_url); $get_url=$url[0]; SetCookie("soho_code",$soho_code,0,"/"); SetCookie("type",$mobile_type,0,"/"); //echo "mobile_type=$mobile_type"; //exit; } else { echo ""; } echo(' '); if (strpos($_SERVER['HTTP_USER_AGENT'],'Android')!==false){?> window.location.href="/main/main.php"; '); } else { ?>