Click here to Skip to main content
14,635,895 members
Rate this:
Please Sign up or sign in to vote.
See more:
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 '';
}


Any one have idea?

[This sentence with a question mark does not make the whole post a question. Idea on what? — SA]
Posted
Updated 7-Sep-13 4:09am
v3
Comments
Yvan Rodrigues 7-Sep-13 9:51am
   
What is the problem?
What does echo $mena_host; return?
   
This is not a sensible or valid question.
—SA

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Oh i found it . now it work

$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 '';
}
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100