This is a discussion on "Changing CSS with PHP" within the PHP Forum section. This forum, and the thread "Changing CSS with PHP are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Changing CSS with PHP
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|
|
|||
|
Re: Changing CSS with PHP
|
|
||||
|
Re: Changing CSS with PHP
Quote:
I had just been looking around here in the CSS forum and someone had posted how to do it in JavaScript rather than PHP so I gave it a go and it worked |
|
||||
|
Re: Changing CSS with PHP
This would be easy to achieve with PHP. If you send the name of the css of the query string
Say you send the css name like thisismyurl.php?style=css1 then in your php
Cheers.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
||||
|
Re: Changing CSS with PHP
Rakuli, wouldn't it be easy for the user to save it in a session?
That way you would not need to append GETs to every page.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
||||
|
Re: Changing CSS with PHP
Quote:
Quote:
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
|||
|
Re: Changing CSS with PHP
There's a good tutorial coming out on this topic in the next newsletter.
You can get a full explanation and tutorial there |
|
||||
|
Re: Changing CSS with PHP
On what? Sessions/Gets or multiple stylesheets?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Last edited by alexgeek; Oct 11th, 2007 at 23:24. Reason: Learn to spell alex! ;) |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing career | DPhahn | Introduce Yourself | 24 | Aug 9th, 2007 18:15 |
| changing pic's | bruno89 | Web Page Design | 4 | Sep 8th, 2006 15:22 |
| Changing cell id? | moojoo | JavaScript Forum | 2 | Aug 30th, 2006 20:16 |
| changing %20 in URL using PHP | JamieH | PHP Forum | 1 | Dec 8th, 2005 13:52 |
| Help changing the WHERE Variable? | courtjester | Databases | 5 | Jun 2nd, 2004 15:35 |