1、在
$mhavelogin=1;
代碼下面加上
$user=islogin();
2,、在//數(shù)據(jù)下加上
$msgcount=$empire->gettotal("select count(*) as total from phome_enewsqmsg where to_username='$user[username]'");
3,、在JS調(diào)用登陸狀態(tài)模板中調(diào)用
即可實現(xiàn)調(diào)用具體信息數(shù)
1、在
$mhavelogin=1;
代碼下面加上
$user=islogin();
2,、在//數(shù)據(jù)下加上
$msgcount=$empire->gettotal("select count(*) as total from phome_enewsqmsg where to_username='$user[username]'");
3,、在JS調(diào)用登陸狀態(tài)模板中調(diào)用
即可實現(xiàn)調(diào)用具體信息數(shù)