<?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>LearnToProgram.tv &#187; PHP</title>
	<atom:link href="http://www.learntoprogram.tv/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learntoprogram.tv</link>
	<description>Learning to program is as easy as watching tv!</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:59:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>PHP If-Else Conditionals Tutorial</title>
		<link>http://www.learntoprogram.tv/2011/10/11/php-if-else-conditionals-tutorial/</link>
		<comments>http://www.learntoprogram.tv/2011/10/11/php-if-else-conditionals-tutorial/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 14:25:00 +0000</pubDate>
		<dc:creator>Mark Lassoff</dc:creator>
				<category><![CDATA[Free Tutorials]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Conditionals]]></category>
		<category><![CDATA[If Else]]></category>
		<category><![CDATA[Mark Lassoff]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.learntoprogram.tv/?p=293</guid>
		<description><![CDATA[Many times programs need to make a decision based on conditions that have occurred during execution. For example, which screen to display, whether or not to allow a user to continue to play a game after their character has been killed, and even determining which button has been pushed on a joystick are all determined [...]]]></description>
			<content:encoded><![CDATA[<p>Many times programs need to make a decision based on conditions that have occurred during execution. For example, which screen to display, whether or not to allow a user to continue to play a game after their character has been killed, and even determining which button has been pushed on a joystick are all determined by conditionals.</p>
<p>In this video tutorial, Mark will show you how to use both simple PHP if else and more complex conditional statements in the PHP programming language.</p>
<p><iframe width="480" height="360" src="http://www.youtube.com/embed/sHnUaarjgxA" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.learntoprogram.tv/2011/10/11/php-if-else-conditionals-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Variables Tutorial</title>
		<link>http://www.learntoprogram.tv/2011/10/10/php-variables-tutorial/</link>
		<comments>http://www.learntoprogram.tv/2011/10/10/php-variables-tutorial/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:09:33 +0000</pubDate>
		<dc:creator>Mark Lassoff</dc:creator>
				<category><![CDATA[Free Tutorials]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[opeators]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://www.learntoprogram.tv/?p=280</guid>
		<description><![CDATA[In this PHP Variables Tutorial, Mark will show you how to use variables in the PHP programming language. You will learn how to declare and initialize PHP variables, the PHP variable operators and how to ouput variable values to the browser window. 1 2 3 4 5 6 7 8 9 10 11 12 13 [...]]]></description>
			<content:encoded><![CDATA[<p>In this PHP Variables Tutorial, Mark will show you how to use variables in the PHP programming language. You will learn how to declare and initialize PHP variables, the PHP variable operators and how to ouput variable values to the browser window.</p>
<p><iframe src="http://www.youtube.com/embed/V2WudcNDiK4" frameborder="0" width="480" height="360"></iframe></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #000088;">$age</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">37</span><span style="color: #339933;">;</span>                      <span style="color: #666666; font-style: italic;">//Numeric Variable</span>
    <span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Mark Lassoff&quot;</span><span style="color: #339933;">;</span>         <span style="color: #666666; font-style: italic;">//String Variable</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">//echo(&quot;My age is &quot; . $age);</span>
    <span style="color: #b1b100;">print</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$name</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;'s age is &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$age</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$operand1</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">48</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$operand2</span> <span style="color: #339933;">=</span> <span style="color:#800080;">201.003</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$sum</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$operand1</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$operand2</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$operand1</span> <span style="color: #339933;">*</span> <span style="color: #000088;">$operand2</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">print</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;br/&gt;The sum is: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$sum</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">print</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;br/&gt;The result of the multiplication is: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$operand1</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$operand2</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;br/&gt;The result of subtraction is: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$operand1</span> <span style="color: #339933;">/</span> <span style="color: #000088;">$operand2</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;br/&gt;The result of division is: &quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$result</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$operand1</span><span style="color: #339933;">++;</span>        <span style="color: #666666; font-style: italic;">//Add One to $operand1</span>
    <span style="color: #000088;">$operand1</span><span style="color: #339933;">--;</span>        <span style="color: #666666; font-style: italic;">//Subtract One from $operand1</span>
&nbsp;
    <span style="color: #b1b100;">print</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;br/&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">print</span><span style="color: #009900;">&#40;</span><span style="color:#800080;">2189.34543</span><span style="color: #339933;">%</span><span style="color:#800080;">67.23432</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.learntoprogram.tv/2011/10/10/php-variables-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial:  Hello World</title>
		<link>http://www.learntoprogram.tv/2011/10/09/php-tutorial-hello-world/</link>
		<comments>http://www.learntoprogram.tv/2011/10/09/php-tutorial-hello-world/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 14:00:04 +0000</pubDate>
		<dc:creator>Mark Lassoff</dc:creator>
				<category><![CDATA[Free Tutorials]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[hello world]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.learntoprogram.tv/?p=272</guid>
		<description><![CDATA[PHP is a commonly used, server side programming language, most often used to code web applications. WordPress, Joomla, and many other common web applications are written in PHP. With PHP knowledge you can customize or create just about any kind of web site or web application. In this PHP tutorial, Mark will show you how [...]]]></description>
			<content:encoded><![CDATA[<p>PHP is a commonly used, server side programming language, most often used to code web applications. WordPress, Joomla, and many other common web applications are written in PHP. With PHP knowledge you can customize or create just about any kind of web site or web application. In this PHP tutorial, Mark will show you how to set up a PHP testing server and how to output information to the browser window using PHP.</p>
<p>This is a beginners PHP Tutorial and can easily be completed even if you have no previous programming experience. In the tutorial Mark will show you how to create your first PHP script that outputs text content to the web browser.</p>
<p><iframe src="http://www.youtube.com/embed/V2WudcNDiK4" frameborder="0" width="480" height="360"></iframe></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;First PHP Script&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
    <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;p&gt;&lt;strong&gt;Hello World&lt;/strong&gt; from LearnToProgram.tv&lt;/p&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;p&gt;This content was generated by PHP.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
    &lt;/body&gt;
&lt;/html&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.learntoprogram.tv/2011/10/09/php-tutorial-hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

