【发布时间】:2020-07-01 19:59:40
【问题描述】:
这行代码应该将从mysql db table row = imageData读取的图像显示到html页面中。我只看到 100x100 和 ?而不是实际的图像。
<td><img src="data:uploads/jpeg;base64,'.base64_encode( $row['imageData']).'" style="width:100px; height:100px;"></td>
【问题讨论】:
-
但这确实显示了图像
标签: html-table base64 row src