[英]How to plot real-time control charts on a web page using MySQL data and PHP?
I have real-time humidity and temperature data saved in a MySQL database.我在 MySQL 数据库中保存了实时湿度和温度数据。 Now, I want to create a web page to monitor real time weather data in control charts.现在,我想创建一个网页来监控控制图中的实时天气数据。 How do I plot real-time control charts on a web page using MySQL data and PHP?如何使用 MySQL 数据和 PHP 在网页上绘制实时控制图?
You would need a client-side scripting language like Javascript to make ajax request to dynamically update the content of the page.您需要像 Javascript 这样的客户端脚本语言来发出 ajax 请求以动态更新页面的内容。 PHP is a server side language and will not be able to do that. PHP 是一种服务器端语言,将无法做到这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.