<?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>PHP Programming Guide</title>
	<atom:link href="http://phpprogrammingguide.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpprogrammingguide.com</link>
	<description>Where You Learn PHP the easy way</description>
	<lastBuildDate>Wed, 10 Mar 2010 14:38:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Embedding Comments</title>
		<link>http://phpprogrammingguide.com/basic-programming/embedding-comments/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/embedding-comments/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 14:38:06 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[Comments]]></category>
		<category><![CDATA[Sample]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/embedding-comments/</guid>
		<description><![CDATA[
Now, to make you a better programmer we all know the value of comments. This allows you to understand the code that you have written defining and given meaning to operations as you build them up. You start with the terminators used by PHP and end with them as well. Single line comments look like [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.digitalalchemy.tv/2007/06/watch-ted-talks-technology.html"><img src="/wp-content/uploads/scraped/12.jpg"/></a>
<p>Now, to make you a better programmer we all know the value of comments. This allows you to understand the code that you have written defining and given meaning to operations as you build them up. You start with the terminators used by PHP and end with them as well. Single line comments look like this ï¿½// commentï¿½ and Multi-line ones use the syntax /* comment comment*/. A better example would be the one below:</p>
<p><?php<br />
//comment<br />
/* comment<br />
Comment*/<br />
?></p>
<p>In the next post we take on the best parts of PHP which would be variables which is essential in all programming languages.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/embedding-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More into the syntax of PHP</title>
		<link>http://phpprogrammingguide.com/basic-programming/more-into-the-syntax-of-php/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/more-into-the-syntax-of-php/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 14:36:07 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[PHP Syntax]]></category>
		<category><![CDATA[Program]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/more-into-the-syntax-of-php/</guid>
		<description><![CDATA[
As you might have seen, all of the PHP statement ends with ï¿½;ï¿½ which would be somewhat similar to Perl. The valid HTML code that was handed back to the server was :



Who are You?

My name is MacGyver.


More in the coming posts when we dig deeper as we widen our understanding of PHP.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://%25E2%259C%258E.net/category/php/"><img src="/wp-content/uploads/scraped/11.jpg"/></a>
<p>As you might have seen, all of the PHP statement ends with ï¿½;ï¿½ which would be somewhat similar to Perl. The valid HTML code that was handed back to the server was :<br />
<html><br />
<head></head><br />
<body><br />
Who are You?<br />
<br />
My name is MacGyver.<br />
</body><br />
</html></p>
<p>More in the coming posts when we dig deeper as we widen our understanding of PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/more-into-the-syntax-of-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dissecting/Understanding the first program</title>
		<link>http://phpprogrammingguide.com/basic-programming/dissectingunderstanding-the-first-program/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/dissectingunderstanding-the-first-program/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 14:35:10 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Parser]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/dissectingunderstanding-the-first-program/</guid>
		<description><![CDATA[
The first post had you making a program that was equivalent to the &#8220;Hello World&#8221; program used for teaching basics of a programming language and here&#8217;s how it worked. When the script was requested by opening the web page, Apache intercepted the request and passed it onto PHP which parsed the script looking for the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mcleaninternational.com/testimonials"><img src="/wp-content/uploads/scraped/10.jpg"/></a>
<p>The first post had you making a program that was equivalent to the &#8220;Hello World&#8221; program used for teaching basics of a programming language and here&#8217;s how it worked. When the script was requested by opening the web page, Apache intercepted the request and passed it onto PHP which parsed the script looking for the code in between the <?PHP "?> terminators and then doing the requested operation which was to display the text contained within the echo command. This result was given back to the server then again to the client. The output contained a valid HTML so the browser was able to understand it and execute the requested operation.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/dissectingunderstanding-the-first-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loop Statement &#8211; foreach</title>
		<link>http://phpprogrammingguide.com/basic-programming/loop-statement-foreach/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/loop-statement-foreach/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 19:22:50 +0000</pubDate>
		<dc:creator>Celine</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[Loop statements]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/loop-statement-foreach/</guid>
		<description><![CDATA[
The foreach loop is mostly used to parse through an array that for every loop, the value of the current array content/value is assigned to the $value (after which the array pointer increments by a factor of one) then the next loop results in the next array content/value.
Syntax:
foreach (array as value)
{
 code to be executed;
}
Sample [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.exforsys.com/tutorials/oracle-9i/oracle-cursors.html"><img src="/wp-content/uploads/scraped/30.jpg"/></a>
<p>The <strong><em>foreach</em></strong> loop is mostly used to parse through an array that for every loop, the value of the current array content/value is assigned to the $value (after which the array pointer increments by a factor of one) then the next loop results in the next array content/value.</p>
<p>Syntax:<br />
foreach (array as value)<br />
{<br />
 code to be executed;<br />
}</p>
<p>Sample :<br />
The sample below would show a loop to print verbosely the contents of a given array.</p>
<p><html><br />
<body></p>
<p><?php<br />
$a=array("three", "two", "one");<br />
foreach ($arr as $value)<br />
{<br />
  echo "Value: ". $value . "<br/>&#8220;;<br />
}<br />
?></p>
<p></body><br />
</html></p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/loop-statement-foreach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Functions</title>
		<link>http://phpprogrammingguide.com/basic-programming/php-functions/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/php-functions/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 19:24:22 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/php-functions/</guid>
		<description><![CDATA[
Now that we know the basic loop statements that are commonly used in PHP, we come to one of PHP&#8217;s real power in the form of it&#8217;s built in functions. PHP has over 700 built-in functions which gives the programmer a lot of quick and fun ways to do things they would otherwise have to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://brianhaveri.com/content/view/php-functions-relation-circle"><img src="/wp-content/uploads/scraped/31.jpg"/></a>
<p>Now that we know the basic loop statements that are commonly used in PHP, we come to one of PHP&#8217;s real power in the form of it&#8217;s built in functions. PHP has over 700 built-in functions which gives the programmer a lot of quick and fun ways to do things they would otherwise have to create code for. Functions are simply blocks of code that are pre-made and called upon when needed to perform their task returning control to the calling statement after execution. In PHP, one creates functions by using the &#8220;function()&#8221; statement, which is then assigned a name that is simple yet descriptive of the process the function is to do (though this is not necessary, it would be nice to have a function that is easily determined through its descriptive name), that way when you debug programs you can have a general idea what that particular function is supposed to do. a function can start with an underscore or a letter but never a number. As the program starts, the &#8220;{&#8221; signals the start of the function after the opened curly braces, the function code or block of code is then inserted then followed by the closing curly brace, &#8220;}&#8221; to close the function.</p>
<p>A sample of a function will be given on the next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/php-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Function Samples</title>
		<link>http://phpprogrammingguide.com/basic-programming/function-samples/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/function-samples/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 19:25:32 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/function-samples/</guid>
		<description><![CDATA[
Sample :





Sample use of a function in a PHP script.


]]></description>
			<content:encoded><![CDATA[<p><a href="http://streambase.com/developers/docs/sb37/samplesinfo/customjavaaggregate.html"><img src="/wp-content/uploads/scraped/32.jpg"/></a>
<p>Sample :<br />
<html><br />
<body></p>
<p><?php<br />
function displayMyName()<br />
{<br />
  echo "Juan Dela Cruz";<br />
}<br />
displayMyName()<br />
?></p>
<p></body><br />
</html></p>
<p>Sample use of a function in a PHP script.</p>
<p><html><br />
<body></p>
<p><?php<br />
function displayMyName()<br />
{<br />
  echo "Juan Dela Cruz";<br />
}<br />
echo "Hello World! </br>&#8220;;<br />
echo &#8220;My name is &#8220;;<br />
displayMyName()<br />
echo &#8220;That&#8217;s right, &#8220;;<br />
displayMyName();<br />
echo &#8221; is my name.&#8221;;<br />
?></p>
<p></body><br />
</html></p>
<p>The output of the sample would be:</p>
<p>Hello World!<br />
My name is Juan Dela Cruz.<br />
That&#8217;s right, Juan Dela Cruz is my name.</p>
<p>More on functions in the next post as we discuss further the possibilities of these powerful ready made blocks of code.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/function-samples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forms and User Input continued</title>
		<link>http://phpprogrammingguide.com/basic-programming/forms-and-user-input-continued/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/forms-and-user-input-continued/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 19:48:42 +0000</pubDate>
		<dc:creator>Celine</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[user input]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/forms-and-user-input-continued/</guid>
		<description><![CDATA[
The sample page in the previous post contains two input fields that are name and age, when the user inputs the data and clicks on the submit button, the form&#8217;s data is sent to the file &#8220;welcome.php&#8221; file. The resulting php file would look something like this:


Welcome .
You are  years old


The output of the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://oreilly.com/catalog/9780596003173/toc.html"><img src="/wp-content/uploads/scraped/36.jpg"/></a>
<p>The sample page in the previous post contains two input fields that are name and age, when the user inputs the data and clicks on the submit button, the form&#8217;s data is sent to the file &#8220;welcome.php&#8221; file. The resulting php file would look something like this:</p>
<p><html><br />
<body><br />
Welcome <?php echo $_POST["Name"]; ?>.<br/><br />
You are <?php echo $_POST["Age"]; ?> years old<br />
</body><br />
</html></p>
<p>The output of the script we made would look like:<br />
Welcome Ernie<br />
You are 35 years old.</p>
<p>That would be an overview of the full potential of the $_GET and $_POST variables and they will be discussed in depth later as we go deeper into their functionality in PHP scripts.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/forms-and-user-input-continued/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Functions that return Values</title>
		<link>http://phpprogrammingguide.com/basic-programming/functions-that-return-values/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/functions-that-return-values/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 19:29:14 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[values]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/functions-that-return-values/</guid>
		<description><![CDATA[
That&#8217;s how easy a function can be made to do a series of operations by being influenced by parameters. We now focus on the area of having functions that returns a value, say the processing of a block of code or an operation done on a set of data.
Sample :





The output of the code would [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tech-faq.com/inline-functions.shtml"><img src="/wp-content/uploads/scraped/34.jpg"/></a>
<p>That&#8217;s how easy a function can be made to do a series of operations by being influenced by parameters. We now focus on the area of having functions that returns a value, say the processing of a block of code or an operation done on a set of data.</p>
<p>Sample :<br />
<html><br />
<body></p>
<p><?php<br />
function add($a,$b)<br />
{<br />
  $total = $a + $b;<br />
  return $total;<br />
}<br />
echo "1 + 15 =" . add(1,15);<br />
?></p>
<p></body><br />
</html></p>
<p>The output of the code would be:</p>
<p>1 + 15 = 16</p>
<p>Next we focus on forms and user input as we go on the fascinating world of the powers of PHP as a scripting language.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/functions-that-return-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP forms and User Input</title>
		<link>http://phpprogrammingguide.com/basic-programming/php-forms-and-user-input/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/php-forms-and-user-input/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 19:48:12 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[user input]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/php-forms-and-user-input/</guid>
		<description><![CDATA[
PHP as a scripting language means it is designed to work with ease of use on web page designs. Such pages often require the user to input data which can then be treated as input to the various elements of the program that are contained within the script to obtain the desired result. The PHP [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tech555.com/forum/f19/complete-user-registration-system-your-php-website-t145/"><img src="/wp-content/uploads/scraped/35.jpg"/></a>
<p>PHP as a scripting language means it is designed to work with ease of use on web page designs. Such pages often require the user to input data which can then be treated as input to the various elements of the program that are contained within the script to obtain the desired result. The PHP $_Get and $_Post, are samples of variables that are used to obtain information from forms like the registration form on a membership page. </p>
<p>HTML forms and PHP work hand in hand together in such a way that any element in an HTML page is readily available to PHP scripts.</p>
<p>Sample Form:<br />
<html><br />
<body></p>
<form action="welcome.php" method="post">
Name :<br />
<input type="text" name="name"/>
Age  :<br />
<input type="text" name="age"/>
<input type="submit"/>
</form>
<p></body><br />
</html></p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/php-forms-and-user-input/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Form Validation</title>
		<link>http://phpprogrammingguide.com/basic-programming/form-validation/</link>
		<comments>http://phpprogrammingguide.com/basic-programming/form-validation/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 19:50:28 +0000</pubDate>
		<dc:creator>Avatar</dc:creator>
				<category><![CDATA[Basic Programming]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://phpprogrammingguide.com/basic-programming/form-validation/</guid>
		<description><![CDATA[
As the previous post discussed, PHP is very easy to use with web pages for the language has all the elements of a web page as a useable element. Now, going forward, forms or pages are easily handled and checked on the user end, meaning when you open a page the data input is easier [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://humaneia.com/category/interface-design/"><img src="/wp-content/uploads/scraped/37.jpg"/></a>
<p>As the previous post discussed, PHP is very easy to use with web pages for the language has all the elements of a web page as a useable element. Now, going forward, forms or pages are easily handled and checked on the user end, meaning when you open a page the data input is easier to verify on the user side rather than have the input sent back to the server for checking and then returning any errors should there be any. This reduces load on the server and network having the data validated on the user end, allowing the information to be sent when the form receives all correct input. This type of handling is called client side validation where the input page verifies itself only requesting for the next step in a process when it returns true (all entries are correct). This way, the error checking and return function is on the client side reducing network and server load.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpprogrammingguide.com/basic-programming/form-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
