【问题标题】:$row['imageData'] code below is not displaying the images下面的 $row['imageData'] 代码不显示图像
【发布时间】: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


【解决方案1】:

通过更改标签解决了它

>';?>

谢谢大家......

希望它可以帮助其他有动力的成员

【讨论】:

  • >
猜你喜欢
  • 1970-01-01
  • 2023-01-03
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多