【发布时间】:2018-05-09 15:58:12
【问题描述】:
到目前为止,我如何使用 php 数组显示图片,使用 html 并不能正常工作,它只是显示字符串本身。这是我的代码:
$output = array(
'order_table' => $order_table,
'cart_item' => '<img src="samples/cart.png">' .count($_SESSION["shopping_cart"])
);
【问题讨论】:
标签: php html arrays image output