<?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; php guide</title>
	<atom:link href="http://lastwebdesigner.com/tag/php-guide/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: introduction to php</title>
		<link>http://lastwebdesigner.com/php/php-beginner-guide-introduction-to-php.html</link>
		<comments>http://lastwebdesigner.com/php/php-beginner-guide-introduction-to-php.html#comments</comments>
		<pubDate>Mon, 08 Jun 2009 10:09:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PhP]]></category>
		<category><![CDATA[beginner guide]]></category>
		<category><![CDATA[php guide]]></category>

		<guid isPermaLink="false">http://lastwebdesigner.com/?p=166</guid>
		<description><![CDATA[Well.. Here we are with this first chapter of a simple guide to php for beginner. Before start I think is good if you know something about the history of this script languages. Php was &#8220;born&#8221; in 1994 from Rasmus Lerdor, was composed of a set of macro whose task was to simplify the websites [...]


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>Well.. Here we are with this<strong> first chapter </strong>of a<strong> simple guide to php for beginner. </strong>Before start I think is good if you know something about the history of this script languages.<br />
Php was &#8220;born&#8221; in <strong>1994</strong> from <strong>Rasmus Lerdor</strong>, was composed of a set of macro whose task was to simplify th<strong>e websites management.</strong></p>
<p>The first step was the expansion of the macro with a packet called<strong> form interpreter</strong>. From here Php was in continue expansion and now is a one of the most used langues in the websites with a  bigger community  and over 10.000.000 of server that support php now. The reason of this big expansion are lots. <strong>Php</strong> is open source, is free, is simple and works perfectly with <strong>Apache</strong>, the most used web server in the world.<span id="more-166"></span></p>
<p>The important thing that you must remember about <strong>php</strong>, is that this language is <span style="text-decoration: underline;">server side.</span></p>
<p>What it means that php is a  server side languages?</p>
<p>It means that the language is <span style="text-decoration: underline;">interpreted from the server,</span> namely the server, through an <strong>interpreter</strong>, received the php code from the page and returns the <span style="text-decoration: underline;">html code.</span> indeed if you look at the source <span style="text-decoration: underline;"><strong>code of a php page you will never see php code,</strong></span> but only the html that the server interpreter returns.</p>
<p>This is the difference between <strong>php</strong> and <strong>javascript</strong>, for example, that is a<strong> client side language</strong>, so it depend on the browser user and not from the server.</p>
<p><strong>Php</strong> is perfect to work with database like <strong>mysql</strong>, to create<strong> e-commerce sites, administration systems</strong> and other more, one of a great example is <strong>WordPress</strong>, the CMS blogging platform that runs this website.</p>
<p>How to recognize php code? Here an example:</p>
<blockquote><p><strong>&lt;?php echo &#8220;Hello World!&#8221;; ?&gt;</strong></p></blockquote>
<p>This is an example, if you will try this code the page will results this :</p>
<blockquote><p><strong>Hello World!.</strong></p></blockquote>
<p>A php tag start always with the &#8220;<strong>&lt;?php</strong>&#8221; and end with &#8220;<strong>?&gt;</strong>&#8221; you can omit the <strong>&#8220;php&#8221;</strong> in the start tag.</p>
<p>Other important thing of the <strong>php syntax</strong> is the &#8220;<strong>;</strong>&#8221; at the end, this means the end of the instruction(never forget, is important!) , this was inherited from the most used languages, like <strong>c, java</strong> and similar.</p>
<p>Finally the most simple instruction in php, the &#8220;<strong>echo</strong>&#8221; that say to the server this : <span style="text-decoration: underline;"><strong>write what is wrote between the &#8221; &#8220;.</strong></span></p>
<p>How I said if you will look at the source code you don&#8217;t see the php code, but only the html that the server returns.<br />
Well for the moment I think is good, now you know what is php, how it works and how to start writing code, I think is a good begin.</p>
<p>This is onl<strong>y the first chapter of this php guide for beginner</strong>, so &#8230; stay tuned for the other chapters.</p>
<p>Hasta Luego!<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-the-comments.html" title="Php Beginner guide : The comments">Php Beginner guide : The comments</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-introduction-to-php.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
