<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Chop CSS Templates Into Separate PHP-Included Files</title>
	<atom:link href="http://www.webchicklet.com/web-development/chop-css-templates-into-separate-php-included-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webchicklet.com/web-development/chop-css-templates-into-separate-php-included-files/</link>
	<description>Your geeky chicklet on the web</description>
	<lastBuildDate>Tue, 07 Feb 2012 17:51:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: WebChicklet</title>
		<link>http://www.webchicklet.com/web-development/chop-css-templates-into-separate-php-included-files/comment-page-1/#comment-862</link>
		<dc:creator>WebChicklet</dc:creator>
		<pubDate>Fri, 03 Apr 2009 12:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.webchicklet.com/?p=91#comment-862</guid>
		<description>Ok well, he may be right, unless of course your entire page is being built via php.  In that case, it would be pretty much impossible to separate the html and css from the php, since the php would necessarily have to include those elements as well.  But if you are only building portions of the page with php, then you could put the html and css outside of the php code.  It just depends really on how you are building the page, and what portions of it must be built with php and what doesn&#039;t.  Unless the fact that I haven&#039;t had coffee yet is blurring my mind. :)</description>
		<content:encoded><![CDATA[<p>Ok well, he may be right, unless of course your entire page is being built via php.  In that case, it would be pretty much impossible to separate the html and css from the php, since the php would necessarily have to include those elements as well.  But if you are only building portions of the page with php, then you could put the html and css outside of the php code.  It just depends really on how you are building the page, and what portions of it must be built with php and what doesn&#8217;t.  Unless the fact that I haven&#8217;t had coffee yet is blurring my mind. <img src='http://www.webchicklet.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caren ola</title>
		<link>http://www.webchicklet.com/web-development/chop-css-templates-into-separate-php-included-files/comment-page-1/#comment-856</link>
		<dc:creator>caren ola</dc:creator>
		<pubDate>Fri, 03 Apr 2009 06:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webchicklet.com/?p=91#comment-856</guid>
		<description>thanks for the quick reply.. 
unfortunately i made a mistake.. i copied the whole thing and output the wrong one.

function fNavi() {
$list = &quot;&quot;;
$list .= &quot;&lt;a class=&#039;navi&#039; href=&#039;#&#039;&gt;Home&lt;/a&gt;&quot;;
$list .= &quot;&lt;a class=&#039;navi&#039; href=&#039;#&#039;&gt;About&lt;/a&gt;&quot;;
$list .= &quot;&lt;a class=&#039;navi&#039; 
href=&#039;#&#039;&gt;Contact&lt;/a&gt;&quot;;

return $list;
}
echo fNavi();

he said i should not embed the html/css tags in my php code.

im a fresh graduate and im really wanted to improve and learn the good practice and professional way 

thanks</description>
		<content:encoded><![CDATA[<p>thanks for the quick reply..<br />
unfortunately i made a mistake.. i copied the whole thing and output the wrong one.</p>
<p>function fNavi() {<br />
$list = &#8220;&#8221;;<br />
$list .= &#8220;&lt;a class=&#8217;navi&#8217; href=&#8217;#'&gt;Home&lt;/a&gt;&#8221;;<br />
$list .= &#8220;&lt;a class=&#8217;navi&#8217; href=&#8217;#'&gt;About&lt;/a&gt;&#8221;;<br />
$list .= &#8220;&lt;a class=&#8217;navi&#8217;<br />
href=&#8217;#'&gt;Contact&lt;/a&gt;&#8221;;</p>
<p>return $list;<br />
}<br />
echo fNavi();</p>
<p>he said i should not embed the html/css tags in my php code.</p>
<p>im a fresh graduate and im really wanted to improve and learn the good practice and professional way </p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WebChicklet</title>
		<link>http://www.webchicklet.com/web-development/chop-css-templates-into-separate-php-included-files/comment-page-1/#comment-855</link>
		<dc:creator>WebChicklet</dc:creator>
		<pubDate>Fri, 03 Apr 2009 05:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.webchicklet.com/?p=91#comment-855</guid>
		<description>obviously, the code you put in the comment got rendered instead of displaying as code, but i was able to see it as you intended in the admin.  in any case, i&#039;m not sure what he meant either, since your code didn&#039;t have any css in it at all.  nothing to separate out.</description>
		<content:encoded><![CDATA[<p>obviously, the code you put in the comment got rendered instead of displaying as code, but i was able to see it as you intended in the admin.  in any case, i&#8217;m not sure what he meant either, since your code didn&#8217;t have any css in it at all.  nothing to separate out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caren ola</title>
		<link>http://www.webchicklet.com/web-development/chop-css-templates-into-separate-php-included-files/comment-page-1/#comment-854</link>
		<dc:creator>caren ola</dc:creator>
		<pubDate>Fri, 03 Apr 2009 04:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.webchicklet.com/?p=91#comment-854</guid>
		<description>hi there,
this is a piece of code that i had and now im wondering if this is the correct way to do it.. just echo the function...

please let me know whats the proper way or IN PRACTICE in professional way

coz this is what i&#039;ve learned from school and i already heard from one of the programmer that i should separate my css from php and i dont understand what he is trying to tell me.

thank you so much

function fMainNavi()
{	
	$list = &quot;&quot;;
    $list .= &quot;&lt;a href=&quot;index.php&quot; rel=&quot;nofollow&quot;&gt;home&lt;/a&gt;&quot;;
    $list .= &quot;&lt;a href=&quot;about.php&quot; rel=&quot;nofollow&quot;&gt;about&lt;/a&gt;&quot;;
    $list .= &quot;&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;blog&lt;/a&gt;&quot;;
    $list .= &quot;&lt;a href=&quot;orderinfo.php&quot; rel=&quot;nofollow&quot;&gt;customize order&lt;/a&gt;&quot;;
    $list .= &quot;&lt;a href=&quot;contact.php&quot; rel=&quot;nofollow&quot;&gt;contact&lt;/a&gt;&quot;;
    $list .= &quot;&lt;a href=&quot;whyhg.php&quot; rel=&quot;nofollow&quot;&gt;whyHG?&lt;/a&gt;&quot;;
    $list .= &quot;&lt;a href=&#039;faqs.php&#039; rel=&quot;nofollow&quot;&gt;faq&lt;/a&gt;&quot;;
	$list .= &quot;&quot;;
return $list;	
}//End fMainNavi

echo fMainNavi(); on each page.</description>
		<content:encoded><![CDATA[<p>hi there,<br />
this is a piece of code that i had and now im wondering if this is the correct way to do it.. just echo the function&#8230;</p>
<p>please let me know whats the proper way or IN PRACTICE in professional way</p>
<p>coz this is what i&#8217;ve learned from school and i already heard from one of the programmer that i should separate my css from php and i dont understand what he is trying to tell me.</p>
<p>thank you so much</p>
<p>function fMainNavi()<br />
{<br />
	$list = &#8220;&#8221;;<br />
    $list .= &#8220;<a href="index.php" rel="nofollow">home</a>&#8220;;<br />
    $list .= &#8220;<a href="about.php" rel="nofollow">about</a>&#8220;;<br />
    $list .= &#8220;<a href="#" rel="nofollow">blog</a>&#8220;;<br />
    $list .= &#8220;<a href="orderinfo.php" rel="nofollow">customize order</a>&#8220;;<br />
    $list .= &#8220;<a href="contact.php" rel="nofollow">contact</a>&#8220;;<br />
    $list .= &#8220;<a href="whyhg.php" rel="nofollow">whyHG?</a>&#8220;;<br />
    $list .= &#8220;<a href='faqs.php' rel="nofollow">faq</a>&#8220;;<br />
	$list .= &#8220;&#8221;;<br />
return $list;<br />
}//End fMainNavi</p>
<p>echo fMainNavi(); on each page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Changing The Color Scheme Of CSS Templates &#124; WebChicklet</title>
		<link>http://www.webchicklet.com/web-development/chop-css-templates-into-separate-php-included-files/comment-page-1/#comment-26</link>
		<dc:creator>Changing The Color Scheme Of CSS Templates &#124; WebChicklet</dc:creator>
		<pubDate>Tue, 12 Aug 2008 09:11:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.webchicklet.com/?p=91#comment-26</guid>
		<description>[...] I showed you how I chop up a free CSS template into pieces so that site-wide elements can be automatically included via PHP. That&#8217;s the first step I [...]</description>
		<content:encoded><![CDATA[<p>[...] I showed you how I chop up a free CSS template into pieces so that site-wide elements can be automatically included via PHP. That&#8217;s the first step I [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

