Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将 pchart 创建的 png 保存到我的 mysql 数据库中。
是否有一个函数可以检索创建的 png 的二进制数据?
这是我试图添加到 pChart 库的内容,但它只返回一个。
function getPicture() { return $this->Picture; }
谢谢
大多数情况下,pChart 库将链接到数据库以检索动态数据。请查看本教程
这不是很困难,这是在堆栈溢出时被询问和回答的:
如何使用 PHP 从 MySQL 数据库中存储和检索图像?