<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SoDevious &#187; PHP</title>
	<atom:link href="http://sodevious.net/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://sodevious.net</link>
	<description>the lifestyle blog for young adults</description>
	<lastBuildDate>Sun, 06 May 2012 23:41:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Commenting your Code</title>
		<link>http://sodevious.net/commenting-your-code/</link>
		<comments>http://sodevious.net/commenting-your-code/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 03:56:42 +0000</pubDate>
		<dc:creator>Nicole Dominguez</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[commenting]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://sodevious.net/?p=304</guid>
		<description><![CDATA[When learning how to code in various languages, it often times helps to know the proper way to comment out certain items. If you don't already know what it means to add a 'comment' to the code, just little notes. It can also be used to block something out, it's stopping a certain piece of code from it being read by the browser, or whatever have you. Lets start, shall we?]]></description>
			<content:encoded><![CDATA[<p>When learning how to code in various languages, it often times helps to know the proper way to comment out certain items. If you don&#8217;t already know what it means to add a &#8216;comment&#8217; to the code, it can be little notes for you, or others who are going to read it. They can also be used to block something out, it&#8217;s stopping a certain piece of code from it being read by the browser, or whatever have you. It&#8217;s also smart to organize your code with comments. For instance, because you can&#8217;t add selectors to an ending div class, you can add a comment to let you know which div you&#8217;re ending. Lets start, shall we?</p>
<h3>HTML</h3>
<blockquote><p><code><strong>&lt;!--</strong> HEADER START <strong>--&gt;</strong></code></p></blockquote>
<p>Hints: It&#8217;s best to avoid using &#8216; &#8211; &#8216; (the dash) to keep things from getting confusing, and use spaces before/after the dashes.</p>
<h3>CSS</h3>
<blockquote><p><code><strong>/* </strong>clear div to fix errors<strong> */</strong></code></p></blockquote>
<p>Same concept for HTML, adding notes or blocking off code. Can be used inside or in-between elements.</p>
<h3>PHP</h3>
<blockquote><p><code><strong>/*</strong> WP Post (many lines)<strong>*/</strong></code></p>
<p><code> </code><code><strong> //</strong> Start the loop (1 line)</code></p></blockquote>
<p>There are two kinds of comments you can use in PHP, the &#8216;/* */&#8217; being for multiple lines of code, and &#8216;//&#8217; for one line.</p>
<p>I hope that you learned something new! Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://sodevious.net/commenting-your-code/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

