[不是问题] IF等于PHP中的Do操作 [英] [Not a question] IF Equal this Do action in PHP
本文介绍了[不是问题] IF等于PHP中的Do操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里卡住的代码:
Here my stuck code:
$mena_host = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
if($mena_host == 'laroute.com/front-page')
{
echo '<div id="holdthem" style="font-size:11px; width: 1000px;">';
}
else
{
echo '';
}
有人有想法吗?
[带有问号的这句话并不能使整个帖子成为问题。关于什么的想法? - SA]
Any one have idea?
[This sentence with a question mark does not make the whole post a question. Idea on what? — SA]
推荐答案
mena_host =
mena_host =
_SERVER [' SERVER_NAME']。
_SERVER['SERVER_NAME'] .
_SERVER [' REQUEST_URI'];
if(
_SERVER['REQUEST_URI']; if(
这篇关于[不是问题] IF等于PHP中的Do操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文