<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>comments on: CSS Style Switcher Using PHP</title>
	<link>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/</link>
	<description>tips and tricks to getting around those annoying css problems</description>
	<pubDate>Sun, 21 Mar 2010 08:39:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>by: fortron</title>
		<link>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-97</link>
		<dc:creator>fortron</dc:creator>
		<pubDate>Thu, 04 Mar 2010 00:14:11 +0000</pubDate>
		<guid>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-97</guid>
		<description>Two remarks.
Change:
else if(!isset($_SESSION['style']))
to:
else if(!isset($_SESSION['stylesession']))

And also provide a HTML valid form, this one is for HTML 4.01:


Pick your theme

&#60;?php for($i = 0; $i 
&#60;option value=""
&#62;







</description>
		<content:encoded><![CDATA[<p>Two remarks.<br />
Change:<br />
else if(!isset($_SESSION[&#8217;style&#8217;]))<br />
to:<br />
else if(!isset($_SESSION[&#8217;stylesession&#8217;]))</p>
<p>And also provide a HTML valid form, this one is for HTML 4.01:</p>
<p>Pick your theme</p>
<p>&lt;?php for($i = 0; $i<br />
&lt;option value=&#8221;"<br />
&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>by: Karl</title>
		<link>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-94</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Thu, 19 Nov 2009 00:19:35 +0000</pubDate>
		<guid>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-94</guid>
		<description>Mmm switch and case; would simplify this code</description>
		<content:encoded><![CDATA[<p>Mmm switch and case; would simplify this code</p>
]]></content:encoded>
	</item>
	<item>
		<title>by: bryand</title>
		<link>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-41</link>
		<dc:creator>bryand</dc:creator>
		<pubDate>Sat, 09 Aug 2008 04:25:24 +0000</pubDate>
		<guid>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-41</guid>
		<description>You can make the link go to http://yourpage.com?style=something.  Then just retrieve style=something using PHP via $_REQUEST("something") and update the page style that way.  Also, remember to save it to a session variable so you don't lose your setting.  Hope this helps!</description>
		<content:encoded><![CDATA[<p>You can make the link go to <a href="http://yourpage.com?style=something." rel="nofollow">http://yourpage.com?style=something.</a>  Then just retrieve style=something using PHP via $_REQUEST(&#8221;something&#8221;) and update the page style that way.  Also, remember to save it to a session variable so you don&#8217;t lose your setting.  Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>by: Jason Dupin</title>
		<link>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-40</link>
		<dc:creator>Jason Dupin</dc:creator>
		<pubDate>Thu, 07 Aug 2008 08:57:43 +0000</pubDate>
		<guid>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-40</guid>
		<description>If i didn't want to make the switch with a form submit but rather a link on an image...HOw would I do that?</description>
		<content:encoded><![CDATA[<p>If i didn&#8217;t want to make the switch with a form submit but rather a link on an image&#8230;HOw would I do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>by: Muj</title>
		<link>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-24</link>
		<dc:creator>Muj</dc:creator>
		<pubDate>Wed, 09 Jul 2008 09:30:19 +0000</pubDate>
		<guid>http://www.csswoes.com/2008/05/02/css-style-switcher-using-php/#comment-24</guid>
		<description>Nice piece of work it seems. And it seems nice and simple (I say as a non-programmer ;)  Just wonder what that exactly would look like using links rather than select options. All the best.</description>
		<content:encoded><![CDATA[<p>Nice piece of work it seems. And it seems nice and simple (I say as a non-programmer <img src='http://www.csswoes.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Just wonder what that exactly would look like using links rather than select options. All the best.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
