[thelist] if this then this in php

Adam swerve90 at sympatico.ca
Mon Jan 6 11:27:01 CST 2003


--
[ Picked text/plain from multipart/alternative ]
Hi all. Having probs trying to serve Win IE5.0 an inline css id. All other browsers perform accepatbly, 5.0 is my only problem.

<!--#if expr="$HTTP_USER_AGENT = /MSIE [45]/" -->
<div id="one">
  <!--#elif expr="$HTTP_USER_AGENT = /Mozilla\/[56]/" -->
<div id="two">
  <!--#else -->
<div id="two">
  <!--#endif -->

Something like the above only just for IE5.0 not 5.5, 6+ and in php. Can anyone offer some guidance? I've been having this problem for sometime now and tried in my php n00b way to fix it but no luck. Any help would be greatly appreciated

Adam Leon
Pupilchoke Design
http://www.pupilchoke.com
http://www.tonguesnthumbs.net
--




More information about the thelist mailing list