PHP头条
热点:

php中的时间显示


 
方法1:
 //list($first,$second)=explode(" ",$date_temp);
     // echo $first;
                     //echo substr($first,2)
 方法2:
      // echo date("Y-m-d", strtotime( $date_temp ) );
方法3:
       echo substr($date_temp,0,10)."<br>";

 
//会员退出   使用框架的情况下
session_start();//只要用到SESSION就必须要session_start
session_destroy();
echo "<script language=javascript>alert('已经安全退出!!');</script>";
echo "<script language=\"javascript\">";
echo "top.window.opener = 'xxx';top.window.close();";
echo "</script>"; 

www.phpzy.comtrue/php/14457.htmlTechArticlephp中的时间显示 方法1: //list($first,$second)=explode("",$date_temp); //echo$first; //echosubstr($first,2) 方法2: //echodate("Y-m-d",strtotime($date_temp)); 方法3: echosubstr($date_temp,0,10)."br"; //会员退出使用框架...

相关文章

    暂无相关文章
相关频道:

PHP之友评论

今天推荐