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.
mysql上有一个数据库,它包含带有图像链接的字段。如何使用 javascript/jquery 绘制此图像?这样做的最佳方法是什么?
您需要一些服务器端脚本(如 PHP)来从 MySQL 数据库中检索信息(链接)。之后,您的 PHP 脚本可以在您的 HTML(或 JavaScript,如果您愿意)中呈现链接。