欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

php簡單提示框alert封裝函數(shù)

 更新時間:2010年08月08日 17:47:44   作者:  
php自定義函數(shù)之簡單提示框alert,方便輸出提示信息。
復制代碼 代碼如下:

/*—————————————————— */
//– 簡單提示框函數(shù)
/*—————————————————— */
function alert ($msg,$url=")
{
$str = '<script type="text/javascript">';
$str.="alert('".$msg."');";

if ($url != ")
{
$str.="window.location.href='{$url}';";
}
else
{
$str.="window.history.back();";
}
echo $str.='</script>';
}

相關文章

最新評論