This Is My Home.Php,我需要显示来自数据库的实时通知
<html>
<body>
<label>Notifications <?php echo "(".$notification.")"; ?>)</label>
//$notification Contain no. of Notifications From Database
</body>
</html>
您需要使用web socket
进行实时通知。您可以尝试Ratchet
或socket.io
This Is My Home.Php,我需要显示来自数据库的实时通知
<html>
<body>
<label>Notifications <?php echo "(".$notification.")"; ?>)</label>
//$notification Contain no. of Notifications From Database
</body>
</html>
您需要使用web socket
进行实时通知。您可以尝试Ratchet
或socket.io