[$ row ['imageData']下面的代码未显示图像

问题描述 投票:0回答:1

此行代码应将从mysql db表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
1个回答
0
投票

通过更改标签来解决

© www.soinside.com 2019 - 2024. All rights reserved.