【发布时间】:2017-05-21 10:09:34
【问题描述】:
我已经用这个问题搜索了谷歌,并阅读了许多文章、教程、PHP 指南和其他人的问题。但到目前为止,没有一个解决方案对我有用。我知道这一定很简单。
这是我的代码:
<?php
$random=array_rand("http://www.mentor-distribution.com/media/gmaster_header.mp4", "http://www.mentor-distribution.com/media/hs_freedom_chair.mp4");
?>
<html>
<body>
<iframe width="320" height="187" frameborder="0" src="<?php echo htmlspecialchars($random); ?>"></iframe>
</body>
</html>
但这就是它在检查元素上的显示方式: Chrome's inspect element output
任何帮助将不胜感激。
【问题讨论】: