What's the "?"PHP Code:if (?)
{
echo 'You\'re using IE';
}
else
{
echo 'You're using something else';
}
Printable View
What's the "?"PHP Code:if (?)
{
echo 'You\'re using IE';
}
else
{
echo 'You're using something else';
}
PHP Code:<?
if(strstr($HTTP_USER_AGENT,"MSIE")){
print "you are using IE!<br>";
} else{
print "you are using $HTTP_USER_AGENT<br>";
}
?>
Nifty, cheers :)