<? if(strpos($_SERVER['HTTP_USER_AGENT'],"MSIE") !== FALSE) { ?> <b>You are using Internet Explorer</b> <? } else { ?> <b>You are not using Internet Explorer</b> <? } ?>
Output
if(strpos($_SERVER['HTTP_USER_AGENT'],"MSIE") !== FALSE) { ?>
You are using Internet Explorer
} else { ?>
You are not using Internet Explorer
} ?>