[thelist] PHP multiple style switcher

DAVOUD TOHIDY dtohidy at hotmail.com
Sat Nov 24 06:32:37 CST 2007

> <?php> switch ($_GET['style']) {> case 'hicontrast':> ?>> <link rel="stylesheet" type="text/css" media="screen" href="hiC.css" />> <!--[if lte IE 6]>> <link href="css/hiCIE6.css" rel="stylesheet" type="text/css" > media="screen" />> <![endif]-->
Well I get parss error for your code. I changed it to
<?phpswitch ($_GET['style'])
{    case 'hicontrast':
<link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"hiC.css\" />
<!--[if lte IE 6]><link href=\"css/hiCIE6.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" /><![endif]-->  }?>
but parse error exist.
Actually I got problem understanding the case. Could you
explain it please?
Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free today!

More information about the thelist mailing list