Posts | ||
---|---|---|
SIMPLE php problem | Locked | |
Thread Options | ||
Oct 20 2003 Anchor | ||
Hello, I am currently trying to introduce simple theming into a forum I am coding, I figured the easiest way todo this was using various CSS.
In the header before the HTML begins I have this code...
The first second third and forth are there for debug reasons because its not working properly. Go test for yourself ; Forumz.wuggawoo.co.uk - adding ?theme=forumz or ?theme=wuggy works once, and only once, but then the cookie wont get over-ridden...any help is appreciated. - Edited By azz0r On Mon 20th, Oct 2003 @ 7:21:13pm - Edited By BigBird On Mon 20th, Oct 2003 @ 7:46:03pm -- Why wont it save me? |
||
Oct 20 2003 Anchor | ||
Are you determined that the theme value will come from a cookie? You have user information in your database--why not just add an attribute for the user's theme of choice? Anyway, how about this?
|
||
Oct 20 2003 Anchor | ||
Nick helped me out and got it working great...
Then where the CSS bit is we use... <link rel="stylesheet" href="includes/styles/<? echo $session_vars[1]; ?>.css" type="text/css"> and the drop down box is simply just
thx anyway! -- Why wont it save me? |
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.