if (strlen($g_username) > 1) { //判断是否登陆,若已登陆显示姓名及Email,不用填写。 $db=mysql_connect("localhost","root",""); $result=mysql_db_query("数据库名","select email,http from 数据库表名 where username=$g_username");
$row=mysql_fetch_array($result); $bbs_email=$row[email];
echo "
您的姓名:
|
$g_username
|