<td height="25" bgcolor="#E5E5E5">
<?php
session_start();
include("conn/conn.php");
$result=mysql_query("select * from tb_admin",$conn);
if($result!==0){//用上一步取得的行数
echo '<marquee direction="right" behavior=scroll scrollamount=1 scrolldelay=10 align=top bgcolor="#E5E5E5" height=20 width=90% hspace=20 vspace=10 onmouseover=this.stop() onmouseout=this.start()> 欢迎'.$admin_user.'登录</marquee>';
}?><marquee direction="right" behavior=scroll scrollamount=1 scrolldelay=10 align=top bgcolor="#E5E5E5" height=20 width=90% hspace=20 vspace=10 onmouseover=this.stop() onmouseout=this.start()>
当前日期:<span class="dates"><?php echo date("Y年m月d日");?></span></marquee></td>
这个分两行滚动了,怎么改成日期跟着用户名后面作为一行滚动啊??????????
<?php
session_start();
include("conn/conn.php");
$result=mysql_query("select * from tb_admin",$conn);
if($result!==0){//用上一步取得的行数
echo '<marquee direction="right" behavior=scroll scrollamount=1 scrolldelay=10 align=top bgcolor="#E5E5E5" height=20 width=90% hspace=20 vspace=10 onmouseover=this.stop() onmouseout=this.start()> 欢迎'.$admin_user.'登录</marquee>';
}?><marquee direction="right" behavior=scroll scrollamount=1 scrolldelay=10 align=top bgcolor="#E5E5E5" height=20 width=90% hspace=20 vspace=10 onmouseover=this.stop() onmouseout=this.start()>
当前日期:<span class="dates"><?php echo date("Y年m月d日");?></span></marquee></td>
这个分两行滚动了,怎么改成日期跟着用户名后面作为一行滚动啊??????????
if($result!==0){//用上一步取得的行数
echo "欢迎'.$admin_user.'登录</marquee>';
}?>
当前日期:<span class="dates"><?php echo date("Y年m月d日");?></span></marquee></td>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<td height="25" bgcolor="#E5E5E5">
<?php
session_start();
include("conn/conn.php");
$result=mysql_query("select * from tb_admin",$conn);
if($result!==0){//用上一步取得的行数
echo '<marquee direction="right" behavior=scroll scrollamount=5 scrolldelay=10 align=top bgcolor="#E5E5E5" height=20 width=90% hspace=20 vspace=10
onmouseover=this.stop() onmouseout=this.start()> 欢迎'.$admin_user.'登录';
}?>
当前日期:<span class="dates"><?php echo date("Y年m月d日");?></span></marquee></td>