简体   繁体   English

如何使用 MySQL 数据和 PHP 在网页上绘制实时控制图?

[英]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.

相关问题 通过Firebase数据库将实时数据显示到网页上 - Display real-time data to a web page through Firebase Database 如何在具有更多 mysql 数据库连接的 php 页面中实时工作 - How to work in php page with more mysql database connections in real-time 如何在网络浏览器中显示实时数据? - How to display real-time data in a web browser? 高图:使用boost在大批量线图中快速,实时地更新数据 - Highcharts: rapid, real-time data updates in high volume line charts using boost 居安思危型图表实时高速数据 - Smoothie Charts real-time high speed data 如何在React中使用可变数据和实时图表实现最佳性能? - How to achieve the best possible performance with mutable data and real-time charts in React? 如何同时输出仪表图和折线图实时数据,问题出在server.php页面? - How can I output gauge chart and line chart real-time data at the same time, problem is in server.php page? 如何使用 laravel 上的推送器实时清除数据? - how to clear data in real-time using pusher on laravel? 如何使用实时(SignalR)更新数据 - How to update data using real-time (SignalR) 使用 gstreamer-rtsp 服务器将视频实时流式传输到 web 页面 - Streaming video in real-time using a gstreamer-rtsp server to a web page
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM