Posted by frank on 12/30/05 03:13
"Balazs Wellisch" <balazs@neusolutions.com> wrote in message
news:TE%sf.8334$hI1.4266@tornado.socal.rr.com...
> You'd store their option of choice in a database table just like you'd
> store the rest of their registration information. Then when they login you
> place a conditional in the header of your pages that will decide which
> stylesheet to load. Something like...
> <?php
>
> switch( $choice )
> {
> case 'style 1':
> $stylesheet = '/path/to/style1.css';
> break
> case 'style 2':
> $stylesheet = '/path/to/style2.css';
> break
> }
>
> ?>
>
> <link href="<?php print $stylesheet ; ?>" rel="stylesheet"
> type="text/css">
>
> Makes sense?
>
> Balazs
>
Thank you Balazs,
I *think* I get it, but I'm not solid on it.
Anyway, I'm trying what you suggested as I type this reply........
Much appreciated.
Navigation:
[Reply to this message]
|