Syntax and switching modes
<? if(strstr($_SERVER['HTTP_USER_AGENT'],"MSIE")) { ?>
<b>You are using Internet Explorer</b>
<? } else { ?>
<b>You are not using Internet Explorer</b>
<? } ?>
Output
You are using Internet Explorer You are not using Internet Explorer