Mysql没有返回结果,不知道为什么
我没有得到此查询的任何结果,我不知道为什么
<?php
$sql = "SELECT website_url FROM x3_campaigns ORDER BY RAND() LIMIT 1";
$result = mysql_query($sql) or die(mysql_error());
$battle_get = mysql_fetch_array($result);
?>
</div>
<IFRAME SRC="<?php $battle_get['website_url'] ; ?> " WIDTH=100% HEIGHT=100%>
If you can see this, your browser doesn't
understand IFRAME.
</IFRAME>
在 N SIDE 中
我收到此错误 website_url 我有一个网址。所以我不知道为什么它不起作用......
I am not getting any results for this query and I don't know why
<?php
$sql = "SELECT website_url FROM x3_campaigns ORDER BY RAND() LIMIT 1";
$result = mysql_query($sql) or die(mysql_error());
$battle_get = mysql_fetch_array($result);
?>
</div>
<IFRAME SRC="<?php $battle_get['website_url'] ; ?> " WIDTH=100% HEIGHT=100%>
If you can see this, your browser doesn't
understand IFRAME.
</IFRAME>
iN SIDE
I am getting this error website_url I have a url. So I don't know why it isn't working....
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您应该回显 $battle_get['website_url'] 变量。
You should echo the $battle_get['website_url'] variable.
您没有
echo
您的变量:You did not
echo
your variable: