<?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>Last Webdesigner a blog about Web Design &#187; comments php</title>
	<atom:link href="http://lastwebdesigner.com/tag/comments-php/feed" rel="self" type="application/rss+xml" />
	<link>http://lastwebdesigner.com</link>
	<description>Resources for web designers</description>
	<lastBuildDate>Wed, 19 Aug 2009 10:19:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Php Beginner guide : The comments</title>
		<link>http://lastwebdesigner.com/php/php-beginner-guide-the-comments.html</link>
		<comments>http://lastwebdesigner.com/php/php-beginner-guide-the-comments.html#comments</comments>
		<pubDate>Sat, 13 Jun 2009 14:18:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PhP]]></category>
		<category><![CDATA[beginner guide]]></category>
		<category><![CDATA[comments php]]></category>
		<category><![CDATA[guide php]]></category>

		<guid isPermaLink="false">http://lastwebdesigner.com/?p=192</guid>
		<description><![CDATA[The comments in php are a really important phase of the programming, because they will help you, or other programmer, when you&#8217;ll come back to write on the same code after a long time. An important thing to know is  that their use does not weigh the execution of the script (the PHP interpreter jumps [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The <strong>comments in php</strong> are a really important phase of the programming, because they will help you, or other programmer, when you&#8217;ll come back to write on the same code after a long time.</p>
<p>An important thing to know is  that their use does not weigh the execution of the scrip<strong>t (the PHP interpreter </strong>jumps all parties recognizing that comment), or the transfer of the page to the browser (in fact the comments, as contained within the <a title="simple php guide for beginners" href="http://lastwebdesigner.com/category/php/beginner-guide"><strong>PHP</strong></a> code, are part of what is not sent to the browser).<span id="more-192"></span></p>
<p>In php we have the same comments use in the major programming languages, like c++ or python, here some examples :</p>
<blockquote><p><strong>&lt;?php </strong></p>
<p><strong>// comment style c++</strong></p>
<p><strong>?&gt;</strong></p></blockquote>
<blockquote><p><strong>&lt;?php</strong></p>
<p><strong># comment style python</strong></p>
<p><strong>?&gt;</strong></p></blockquote>
<p>This kind of <strong>comments</strong> are only on one line, when the <a title="guide php" href="http://lastwebdesigner.com/category/php/beginner-guide">PHP</a> interpreter found this comments jump this part and go directly to the source php code.</p>
<p>But we can also use comments on more than one lines, like this :</p>
<blockquote><p>&lt;?php</p>
<p>/* this is a comment</p>
<p>on multilines</p>
<p>*/</p>
<p>?&gt;</p></blockquote>
<p>Be sure that don&#8217;t make error when you write a comment, or this will affect your code.</p>
<blockquote><p><strong>&lt;?php </strong></p>
<p><strong>*/ this is a erroneus comment</strong></p>
<p><strong>*/</strong></p>
<p><strong>?&gt;</strong></p></blockquote>
<blockquote><p><strong>&lt;?php </strong></p>
<p><strong>/* this is the correct </strong></p>
<p><strong>way to comment on mutlilines</strong></p>
<p><strong>*/</strong></p>
<p><strong>?&gt;</strong></p></blockquote>
<p>Simply not? The next time i will start writing code for php, stay tuned!<br />
<h3 class="related-title">This posts may be interesting too</h3>
<ul class="related_post">
<li><a href="http://lastwebdesigner.com/jquery/how-to-send-a-mail-with-php-ajax-and-jquery-in-facebook-style.html" title="How to send a mail with php ajax and jquery in facebook style">How to send a mail with php ajax and jquery in facebook style</a></li>
<li><a href="http://lastwebdesigner.com/php/php-beginner-guide-introduction-to-php.html" title="php beginner guide: introduction to php">php beginner guide: introduction to php</a></li>
</ul>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://lastwebdesigner.com/php/php-beginner-guide-the-comments.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
