<?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>Marc Fraser &#124; A Blog about all things &#187; php comments</title>
	<atom:link href="http://www.marcfraser.co.uk/tag/php-comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.marcfraser.co.uk</link>
	<description>A blog about all things personal, web related.</description>
	<lastBuildDate>Fri, 23 Apr 2010 13:50:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Comments</title>
		<link>http://www.marcfraser.co.uk/php-comments-46.htm</link>
		<comments>http://www.marcfraser.co.uk/php-comments-46.htm#comments</comments>
		<pubDate>Sat, 10 Oct 2009 10:19:43 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[php comments]]></category>

		<guid isPermaLink="false">http://marcfraser.co.uk/?p=46</guid>
		<description><![CDATA[(from Full Article)
We place comments in PHP code to make the code more maintainable and readable. These comments will not be viewable to the public, only to the person editing the PHP file. To comment in PHP we should prefix ‘//’ to our comment, for example:

&#60;?php

//This is our comment

?&#62;
We can also place comments over multiple [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em><strong><em></em></strong></em></strong><strong><em><strong><em><a href="../introduction-to-php-tutorial-9.htm">(from Full Article)</a></em></strong></em></strong></p>
<p>We place comments in PHP code to make the code more maintainable and readable. These comments will not be viewable to the public, only to the person editing the PHP file. To comment in PHP we should prefix ‘//’ to our comment, for example:</p>
<pre class="brush: php;">
&lt;?php

//This is our comment

?&gt;</pre>
<p>We can also place comments over multiple lines by using ‘/*’ to begin and ‘*/’ to end our comment – as shown below.</p>
<pre class="brush: php;">&lt;?php

/* This is a

comment set

over multiple

lines */

?&gt;</pre>
<p>Comments will be a lot more useful when more advance techniques in PHP are used.</p>
<p>A basic page in PHP is shown below, using our start, and end tags as well as comments. Please note that <strong>nothing will show</strong>, as comments are being used.</p>
<pre class="brush: php;">&lt;html&gt;

&lt;head&gt;

&lt;title&gt;First PHP Comments&lt;/title&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;?php

// This is a comment and will not be shown to the public

/* This is a multi-line comment and will not be shown

to the public */

?&gt;

&lt;/body&gt;

&lt;/html&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.marcfraser.co.uk/php-comments-46.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
