<?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>Web Programming Tutorials</title>
	<atom:link href="http://www.vn4000.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vn4000.net</link>
	<description>Absolute beginner in Web programming</description>
	<lastBuildDate>Sat, 13 Nov 2010 23:01:47 +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>Free, Encrypted Backup Online</title>
		<link>http://www.vn4000.net/free-encrypted-backup-online/</link>
		<comments>http://www.vn4000.net/free-encrypted-backup-online/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 23:01:47 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Encrypted Backup Online]]></category>
		<category><![CDATA[Free]]></category>

		<guid isPermaLink="false">http://www.vn4000.net/?p=231</guid>
		<description><![CDATA[Do you remember the last time your computer crashed? Was the important project you were working on ever even recovered? If you´ve ever been through this, you understand just how painful it can be to try to retrieve lost work. Back up data is becoming more popular in the world. Backing up files, usually requires [...]]]></description>
			<content:encoded><![CDATA[<p>Do you remember the last time your computer crashed? Was the important project you were working on ever even recovered? If you´ve ever been through this, you understand just how painful it can be to try to retrieve lost work. Back up data is becoming more popular in the world. Backing up files, usually requires a second hard drive. The biggest risk of data loss is disk failure, the possibility of theft, fire or physical damage either.</p>
<p>Back up data on a network are not new services. However, the service allows you to backup data safe with high security, large capacity that the free is difficult. Now you can do something about it for free with <a onclick="this.href='http://www.anrdoezrs.net/click-3484041-10430557'" href="http://mozy.com" target="_blank"><span style="color: #0000ff;">Mozy</span></a>. Get a massive 2GB of backup space absolutely free. Get a free program that securely and automatically backs up the content you choose at the frequency you choose.</p>
<p>Mozy is a network service that allows automated backup, data security from any PC in the family or office. You simply install it on your PC, set it up and then never worry about data loss again. No need to remember to burn the CD&#8217;s or DVD&#8217;s. No external hard drives to buy or maintain.</p>
<p>Mozy is simple to setup<br />
Performs backups automatically in the background<br />
Encrypts all files on your PC before transfer<br />
Performs incremental backups<br />
Backs up only blocks that have changed<br />
Backs up open/locked files. <a onclick="this.href='http://www.anrdoezrs.net/click-3484041-10430557'" href="http://mozy.com" target="_blank"><span style="color: #0000ff;">CLICK HERE</span></a> to try it out, or to find out more information.</p>
<p>Mozy is simple, convenient and safe, the only thing you need is just a Broadband Internet access. Your files are encrypted on your PC using 448-bit Blowfish encryption and then transferred to the Mozy servers using 128-bit Secure Socket Layer (SSL) encryption. <a onclick="this.href='http://www.anrdoezrs.net/click-3484041-10430557'" href="http://mozy.com" target="_blank"><span style="color: #0000ff;">CLICK HERE</span></a> to try it out, or to find out more information. It&#8217;s free.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/free-encrypted-backup-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Arrays</title>
		<link>http://www.vn4000.net/php-arrays/</link>
		<comments>http://www.vn4000.net/php-arrays/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 19:22:44 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Array]]></category>

		<guid isPermaLink="false">http://www.vn4000.net/?p=227</guid>
		<description><![CDATA[What is an Array? A variable is a storage area holding a number or text. The problem is, a variable will hold only one value. An array is a data structure that stores one or more values in a single value. In PHP, there are three kind of arrays: * Numeric array &#8211; An array [...]]]></description>
			<content:encoded><![CDATA[<p>What is an Array?</p>
<p>A variable is a storage area holding a number or text. The problem is, a variable will hold only one value.<br />
An array is a data structure that stores one or more values in a single value.</p>
<p>In PHP, there are three kind of arrays:</p>
<p>* Numeric array &#8211; An array with a numeric index<br />
* Associative array &#8211; An array where each ID key is associated with a value<br />
* Multidimensional array &#8211; An array containing one or more arrays</p>
<p><strong>Numeric array:</strong></p>
<p>A numeric array stores each array element with a numeric index.</p>
<p>Imagine that you own a car dealer and you want to store the names of  all your cars in a PHP variable. How would you go about this?</p>
<p>It  wouldn&#8217;t make much sense to have to store each name in its own variable.  Instead, it would be nice to store all the car names inside of a single  variable. This can be done, and we show you how below.</p>
<p><em>$cars[0]=&#8221;Saab&#8221;;<br />
$cars[1]=&#8221;Volvo&#8221;;<br />
$cars[2]=&#8221;BMW&#8221;;<br />
$cars[3]=&#8221;Toyota&#8221;; </em></p>
<p>In  the above example we made use of the key / value structure of an array.  The keys were the numbers we specified in the array and the values were  the names of the cars. Each key of an array represents a value that we  can manipulate and reference. The general form for setting the key of an  array equal to a value is:</p>
<p>* $array[key] = value;</p>
<p><strong>Associative array:</strong></p>
<p>An associative array, each ID key is associated with a value.</p>
<p>If you wanted to store the age of your employees in an array, a numerically indexed array would not be the best choice. Instead, we could use the employees names as the keys in our associative array, and the value would be their age.</p>
<p><em>$ages['John'] = &#8220;35&#8243;;<br />
$ages['Sally'] = &#8220;31&#8243;;<br />
$ages['Jasmine'] = &#8220;32&#8243;; </em></p>
<p><em>echo &#8220;John is &#8221; . $ages['John'] . &#8220;&lt;br /&gt;&#8221;;<br />
echo &#8220;Sally is &#8221; . $ages['Sally'] . &#8220;&lt;br /&gt;&#8221;;<br />
echo &#8220;Jasmine &#8221; . $ages['Jasmine'] ;</em></p>
<p>The code above will output:</p>
<p>John is 35<br />
Sally is 31<br />
Jasmine is 32</p>
<p><strong>Multidimensional Arrays:</strong></p>
<p>In a multidimensional array, each element in the main array can also be an array. And each element in the sub-array can be an array, and so on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/php-arrays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The PHP Switch Statement</title>
		<link>http://www.vn4000.net/the-php-switch-statement/</link>
		<comments>http://www.vn4000.net/the-php-switch-statement/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 17:49:56 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Switch Statement]]></category>

		<guid isPermaLink="false">http://www.vn4000.net/?p=220</guid>
		<description><![CDATA[Switch Statement: Switch Statement are used to perform different actions based on different conditions. Switch statements are just like if..else conditional statements where a block of code is executed if the condition is true. Example: &#60;?php switch ($x) { case 1: echo &#8220;Number 1&#8243;; break; case 2: echo &#8220;Number 2&#8243;; break; case 3: echo &#8220;Number [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Switch Statement:</strong></p>
<p>Switch Statement are used to perform different actions based on different conditions. Switch statements are just like if..else conditional statements where a block of code is executed if the condition is true.</p>
<p>Example:</p>
<p><em>&lt;?php<br />
switch ($x)<br />
{<br />
case 1:<br />
echo &#8220;Number 1&#8243;;<br />
break;<br />
case 2:<br />
echo &#8220;Number 2&#8243;;<br />
break;<br />
case 3:<br />
echo &#8220;Number 3&#8243;;<br />
break;<br />
default:<br />
echo &#8220;Hello&#8221;;<br />
}</em><em> ?&gt;</em></p>
<p><strong>The default case:</strong></p>
<p>What if no number between 1 and 3 are entered? In that case, the default statement in switch code will be executed. In the example above we set the string &#8220;Hello&#8221;.</p>
<p>The code will executed the default code block since we don&#8217;t enter the number between 1 and 3  is not part of our switch statement cases. The code will output &#8220;Hello&#8221;.</p>
<p><strong>The Break Statement:</strong></p>
<p>The break statement in PHP switch code prevents the code from executing other cases in the switch statement. When a case is matched in a switch statement, the break statement basically stops the code execution. If the break statement is not there, then each case is executed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/the-php-switch-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP If&#8230;Else Statements</title>
		<link>http://www.vn4000.net/php-if-else-statements/</link>
		<comments>http://www.vn4000.net/php-if-else-statements/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 19:40:38 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[PHP If...Else Statements]]></category>

		<guid isPermaLink="false">http://www.vn4000.net/?p=214</guid>
		<description><![CDATA[If&#8230;Else  statements are used to perform different actions based on different conditions. Think about the decisions you make before you go to bed. If you have homework to do the next day, then you will have to finish before go to bed. Otherwise, you will read book or watch TV as you like! In programming, [...]]]></description>
			<content:encoded><![CDATA[<p>If&#8230;Else  statements are used to perform different actions based on different conditions.</p>
<p>Think about the decisions you make before you go to bed. If you have homework to do the next day, then you will have to finish before go to bed. Otherwise, you will read book or watch TV as you like!</p>
<p>In programming, whenever you want to make a decision given that something is true and be sure that you take the appropriate action, you are using an if..else relationship.</p>
<p>In PHP we have the following conditional statements:</p>
<ul>
<li><strong>if statement</strong> &#8211; use this statement to execute some code only if a specified condition is true</li>
<li><strong>if&#8230;else statement</strong> &#8211; use this statement to execute some code if a condition is true and another  	code if the condition is false</li>
<li><strong>if&#8230;elseif&#8230;.else statement</strong> &#8211; use this statement to select one of  	several blocks of code to be executed</li>
<li><strong>switch statement</strong> &#8211; use this statement to select one of many blocks of code to be executed</li>
</ul>
<p><strong>The if Statement Example:</strong></p>
<p><em>$my_name = &#8220;vn4000&#8243;;</em></p>
<p><em>if ( $my_name == &#8220;vn4000&#8243; ) {<br />
echo &#8220;Hello vn4000!&lt;br /&gt;&#8221;;<br />
}<br />
echo &#8220;Web programming!&#8221;;</em></p>
<p><strong>The if&#8230;else Statement Example:</strong></p>
<p><em>&lt;?php<br />
</em><em>$my_name = &#8220;vn4000&#8243;;</em><br />
<em> if (</em><em>$my_name == &#8220;vn4000&#8243;</em><em>)<br />
echo &#8220;Have a nice day, vn4000!&#8221;;<br />
else<br />
echo &#8220;Have a nice day everybody!&#8221;;<br />
?&gt;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/php-if-else-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Operators</title>
		<link>http://www.vn4000.net/php-operators/</link>
		<comments>http://www.vn4000.net/php-operators/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 18:12:48 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[PHP Operators]]></category>

		<guid isPermaLink="false">http://vn4000net.freehostia.com/?p=198</guid>
		<description><![CDATA[There are many operators used in PHP. Operators are used to operate on values. Below are the operators used in PHP Arithmetic Operators Operator Description Example Result + Addition x=3 x+3 6 - Subtraction x=4 9-x 5 * Multiplication x=5 x*7 35 / Division 15/3 7/2 5 3.5 % Modulus (division remainder) 7%2 12%8 6%2 [...]]]></description>
			<content:encoded><![CDATA[<p>There are many operators used in PHP. Operators are used to operate on values.</p>
<p><strong>Below are the operators used in PHP</strong></p>
<p><strong><br />
</strong></p>
<p>Arithmetic Operators</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<th width="15%" align="left">Operator</th>
<th width="40%" align="left">Description</th>
<th width="25%" align="left">Example</th>
<th width="20%" align="left">Result</th>
</tr>
<tr>
<td valign="top">+</td>
<td valign="top">Addition</td>
<td valign="top">x=3<br />
x+3</td>
<td valign="top">6</td>
</tr>
<tr>
<td valign="top">-</td>
<td valign="top">Subtraction</td>
<td valign="top">x=4<br />
9-x</td>
<td valign="top">5</td>
</tr>
<tr>
<td valign="top">*</td>
<td valign="top">Multiplication</td>
<td valign="top">x=5<br />
x*7</td>
<td valign="top">35</td>
</tr>
<tr>
<td valign="top">/</td>
<td valign="top">Division</td>
<td valign="top">15/3<br />
7/2</td>
<td valign="top">5<br />
3.5</td>
</tr>
<tr>
<td valign="top">%</td>
<td valign="top">Modulus (division remainder)</td>
<td valign="top">7%2<br />
12%8<br />
6%2</td>
<td valign="top">1<br />
4<br />
0</td>
</tr>
<tr>
<td valign="top">++</td>
<td valign="top">Increment</td>
<td valign="top">x=9<br />
x++</td>
<td valign="top">x=10</td>
</tr>
<tr>
<td valign="top">&#8211;</td>
<td valign="top">Decrement</td>
<td valign="top">x=9<br />
x&#8211;</td>
<td valign="top">x=8</td>
</tr>
</tbody>
</table>
<p>Assignment Operators</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<th width="15%" align="left">Operator</th>
<th width="40%" align="left">Example</th>
<th width="45%" align="left">Is The Same As</th>
</tr>
<tr>
<td valign="top">=</td>
<td valign="top">x=y</td>
<td valign="top">x=y</td>
</tr>
<tr>
<td valign="top">+=</td>
<td valign="top">x+=y</td>
<td valign="top">x=x+y</td>
</tr>
<tr>
<td valign="top">-=</td>
<td valign="top">x-=y</td>
<td valign="top">x=x-y</td>
</tr>
<tr>
<td valign="top">*=</td>
<td valign="top">x*=y</td>
<td valign="top">x=x*y</td>
</tr>
<tr>
<td valign="top">/=</td>
<td valign="top">x/=y</td>
<td valign="top">x=x/y</td>
</tr>
<tr>
<td valign="top">.=</td>
<td valign="top">x.=y</td>
<td valign="top">x=x.y</td>
</tr>
<tr>
<td valign="top">%=</td>
<td valign="top">x%=y</td>
<td valign="top">x=x%y</td>
</tr>
</tbody>
</table>
<p>Comparison Operators</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<th width="15%" align="left">Operator</th>
<th width="40%" align="left">Description</th>
<th width="45%" align="left">Example</th>
</tr>
<tr>
<td valign="top">==</td>
<td valign="top">is equal to</td>
<td valign="top">6==9 returns false</td>
</tr>
<tr>
<td valign="top">!=</td>
<td valign="top">is not equal</td>
<td valign="top">6!=9 returns true</td>
</tr>
<tr>
<td valign="top">&lt;&gt;</td>
<td valign="top">is not equal</td>
<td valign="top">6&lt;&gt;9 returns true</td>
</tr>
<tr>
<td valign="top">&gt;</td>
<td valign="top">is greater than</td>
<td valign="top">6&gt;9 returns false</td>
</tr>
<tr>
<td valign="top">&lt;</td>
<td valign="top">is less than</td>
<td valign="top">6&lt;9 returns true</td>
</tr>
<tr>
<td valign="top">&gt;=</td>
<td valign="top">is greater than or equal to</td>
<td valign="top">6&gt;=9 returns false</td>
</tr>
<tr>
<td valign="top">&lt;=</td>
<td valign="top">is less than or equal to</td>
<td valign="top">6&lt;=9 returns true</td>
</tr>
</tbody>
</table>
<p>Logical Operators</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<th width="15%" align="left">Operator</th>
<th width="40%" align="left">Description</th>
<th width="45%" align="left">Example</th>
</tr>
<tr>
<td valign="top">&amp;&amp;</td>
<td valign="top">and</td>
<td valign="top">x=6<br />
y=3(x &lt; 10 &amp;&amp; y &gt; 1) returns true</td>
</tr>
<tr>
<td valign="top">||</td>
<td valign="top">or</td>
<td valign="top">x=6<br />
y=3(x==5 || y==5) returns false</td>
</tr>
<tr>
<td valign="top">!</td>
<td valign="top">not</td>
<td valign="top">x=6<br />
y=3!(x==y) returns true</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/php-operators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Data Types</title>
		<link>http://www.vn4000.net/php-data-types/</link>
		<comments>http://www.vn4000.net/php-data-types/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 18:02:46 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[PHP Data Types]]></category>

		<guid isPermaLink="false">http://vn4000net.freehostia.com/?p=191</guid>
		<description><![CDATA[Data Types You can store the following simple types of data in PHP variables: Integer: A whole number (no fractions), such as –43, 0, 1, 27, or 5438. The range of integers that is allowed varies, depending on your operating system, but in general, you can usually use any number from –2 billion up to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Data Types</strong></p>
<p>You can store the following simple types of data in PHP variables:</p>
<ol>
<li>Integer: A whole number (no fractions), such as –43, 0, 1, 27, or 5438. The range of integers that is allowed varies, depending on your operating system, but in general, you can usually use any number from –2 billion up to +2 billion.</li>
<li>Floating point number: A number (usually not a whole number) that includes decimal places, such as 5.24 or 123.456789. This is often called a real number or a float.</li>
<li>Character string: A series of single characters, such as hello. There is no practical limit on the length of a string.</li>
<li>Boolean: A TRUE or FALSE value.</li>
</ol>
<p><strong>Assigning data types</strong></p>
<p>You don&#8217;t need to tell PHP which data type is in a variable. PHP evaluates the data when you assign it to the variable and then stores it as the appropriate type.</p>
<p><strong>Type casting</strong></p>
<p>The data type of variables are automatically determined by the value placed in variable</p>
<p>$a=1  / / $ a is an integer<br />
$a=1.2 / / double<br />
$a=&#8221;1&#8243; / / string</p>
<p>Type casting allows you to change the data type of the variable</p>
<p>$a=11.2/ / $ a is a real type<br />
$a=(int)$a / / now $ a is integer, value = 11<br />
$a= (double) $a / / now $ a return to style = 11.0<br />
$b= (string)$a / / $ b is a string value = &#8220;11&#8243;</p>
<p>The value in the variable on the right side of the equal sign is stored in the variable on the left side as the specified type.</p>
<p>Be careful when doing type casts. Sometimes you can get unexpected results. For example, when you cast a float into an integer, it loses its decimal places. PHP rounds the float toward 0. For example, if $number = 2.7 and you cast it into an integer — $newnumber = (int) $number — $newnumber will equal 2.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/php-data-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comments and Special Characters</title>
		<link>http://www.vn4000.net/comments-and-special-characters/</link>
		<comments>http://www.vn4000.net/comments-and-special-characters/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 20:48:13 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Comments and Special Characters]]></category>

		<guid isPermaLink="false">http://vn4000net.freehostia.com/?p=185</guid>
		<description><![CDATA[Comments: The comments section is useful in your program. The PHP comment syntax always begins with a special character sequence and all text that appears between the start of the comment and the end will be ignored, but a programmer would never ignore them. Single Line Comment: Use // for single line comments echo &#8220;Hello [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Comments:</strong></p>
<p>The comments section is useful in your program. The PHP comment syntax always begins with a special character sequence and all text that appears between the start of the comment and the end will be ignored, but a programmer would never ignore them.</p>
<ul>
<li>Single Line Comment: Use // for single line comments</li>
</ul>
<p>echo &#8220;Hello World!&#8221;; // This will print out Hello World!</p>
<ul>
<li>Multiple Line Comment: begins with &#8221; <strong>/*</strong> &#8221; and ends with &#8221; <strong>*/ </strong>&#8220;.</li>
</ul>
<p>&lt;?php<br />
/* the multi-line PHP comment can be used to<br />
comment out large blocks of code */<br />
echo &#8220;Hello World!&#8221;;<br />
?&gt;</p>
<p><strong>Special Characters:</strong></p>
<p>You can&#8217;t simply place the double quote within a set of double quotes because it will cause an error in PHP. To overcome this dilemma, a method called an &#8220;escape&#8221; is used to allow developers to store this special character along with others in strings.</p>
<p>For example the following code will print <strong>My name is &#8220;vn4000.net&#8221;</strong> (inclued double quote) to the screen:</p>
<p>&lt;?php<br />
echo (&#8220;My name is : \&#8221; vn4000.net\ &#8220;&#8221;);<br />
?&gt;</p>
<p>Below is a table of other special characters that require a backslash:</p>
<table border="1" cellspacing="0" cellpadding="4">
<tbody>
<tr>
<td colspan="2" valign="top"><strong>Valid back-slashed characters</strong></td>
</tr>
<tr>
<td valign="top"><strong><code>\n</code></strong></td>
<td valign="top">linefeed</td>
</tr>
<tr>
<td valign="top"><strong><code>\r</code></strong></td>
<td valign="top">carriage return</td>
</tr>
<tr>
<td valign="top"><strong><code>\t</code></strong></td>
<td valign="top">horizontal tab</td>
</tr>
<tr>
<td valign="top"><strong><code>\\</code></strong></td>
<td valign="top">backslash</td>
</tr>
<tr>
<td valign="top"><strong><code>\$</code></strong></td>
<td valign="top">dollar sign</td>
</tr>
<tr>
<td valign="top"><strong><code>\"</code></strong></td>
<td valign="top">double-quote</td>
</tr>
<tr>
<td valign="top"><strong><code>\[0-7]{1,3}</code></strong></td>
<td valign="top">the sequence of characters matching the regular expression is a character in octal notation</td>
</tr>
<tr>
<td valign="top"><strong><code>\x[0-9A-Fa-f]{1,2}</code></strong></td>
<td valign="top">the sequence of characters matching the regular expression is a character in hexadecimal notation</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/comments-and-special-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Echo Command</title>
		<link>http://www.vn4000.net/echo-command/</link>
		<comments>http://www.vn4000.net/echo-command/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 19:39:12 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[echo]]></category>

		<guid isPermaLink="false">http://vn4000net.freehostia.com/?p=177</guid>
		<description><![CDATA[The PHP command echo is a means of outputting text to the web browser. To output a string, we use PHP echo. &#60;?php $str = &#8220;Hello World!&#8221;; echo $str; ?&#62; The output of the code above will be: Hello World! Output is simple string only. However, it is important that we use proper HTML syntax. [...]]]></description>
			<content:encoded><![CDATA[<p>The PHP command <em>echo</em> is a means of outputting text to the web browser. To output a string, we use PHP echo.</p>
<p><strong>&lt;?php<br />
$str = &#8220;Hello World!&#8221;;<br />
echo $str;<br />
?&gt; </strong></p>
<p>The output of the code above will be:</p>
<p>Hello World!</p>
<p>Output is simple string only. However, it is important that we use proper  HTML syntax. Try as below:</p>
<p><strong>&lt;?php<br />
echo &#8220;&lt;h3&gt;Hello World!&lt;/h3&gt;&#8221;;<br />
?&gt;</strong></p>
<p>Ok, one more try:</p>
<p><strong>&lt;?php<br />
$str = &#8220;Hello World!&#8221;;<br />
echo </strong><strong>&#8220;We are learning PHP, </strong><strong>$str</strong><strong>&#8220;</strong><strong>;<br />
?&gt; </strong></p>
<p>Note:</p>
<ol>
<li>Don&#8217;t use quotes inside your string</li>
<li>Escape your quotes that are within the string with a backslash. To escape a quote just place a backslash directly before the quotation mark, i.e. \&#8221;</li>
<li>Use single quotes (apostrophes) for quotes inside your string.</li>
</ol>
<p>Example:<br />
&lt;?php<br />
// This won&#8217;t work because of the quotes around special<br />
echo &#8220;John said that He&#8217;ll be back&#8221;;<br />
// Outputs: John said: &#8220;I&#8217;ll be back&#8221;<br />
echo &#8216;John said: &#8220;I\&#8217;ll be back&#8221;&#8216;;</p>
<p>?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/echo-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Putting Text into Variables</title>
		<link>http://www.vn4000.net/putting-text-into-variables/</link>
		<comments>http://www.vn4000.net/putting-text-into-variables/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 17:21:12 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Variable]]></category>

		<guid isPermaLink="false">http://vn4000net.freehostia.com/?p=169</guid>
		<description><![CDATA[Review: Variables are used for storing values, like text strings, numbers or arrays. Suppose you want to know something about the level of PHP we are discussing. We do the “telling” like this: $level_course = &#8220;Beginning&#8221;; The dollar sign and variable name comes first, then an equals sign. After the equals sign, however, we have [...]]]></description>
			<content:encoded><![CDATA[<p>Review: Variables are used for storing values, like text strings, numbers or  arrays.</p>
<p>Suppose you want to know something about the level of PHP we are discussing. We do the “telling”            like this:</p>
<p><strong>$level_course = &#8220;Beginning&#8221;;</strong></p>
<p>The dollar sign and variable name comes first, then an equals sign. After the equals sign, however, we have direct text &#8211; Beginning. But notice the double quotation marks around our text. If you don&#8217;t surround your direct text with quotation marks, then you&#8217;ll get errors. You can, however, use single quotes instead of double quotes. So you can do this:</p>
<p><strong>$level_course = &#8216;Beginning&#8217;;</strong></p>
<p>The equals sign is not really an equals sign. It’s called an assignment operator.</p>
<p><strong>Note : </strong></p>
<ol>
<li><strong>The equals sign is not really an equals sign. It’s called an assignment operator.</strong></li>
<li><strong>PHP does not require variables to be declared before being initialized.</strong></li>
<li><strong>Remember surround any direct text with quotation marks.</strong></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/putting-text-into-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Putting Numbers into Variables</title>
		<link>http://www.vn4000.net/how-to-put-numbers-into-variables/</link>
		<comments>http://www.vn4000.net/how-to-put-numbers-into-variables/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 17:11:26 +0000</pubDate>
		<dc:creator>Tutorial</dc:creator>
				<category><![CDATA[PHP Tutorial]]></category>
		<category><![CDATA[Variable]]></category>

		<guid isPermaLink="false">http://vn4000net.freehostia.com/?p=163</guid>
		<description><![CDATA[Review: Variables are used for storing values, like text strings, numbers or arrays. For example, we want to know how many sections we have discussed. If we have twenty sections, then we do the &#8220;telling&#8221; like this: $number_sections = 20; The dollar sign and variable name comes first, then an equals sign. After the equals [...]]]></description>
			<content:encoded><![CDATA[<p>Review: Variables are used for storing values, like text strings, numbers or  arrays.</p>
<p>For example, we want to know how many sections we have discussed. If we have twenty sections, then we do the &#8220;telling&#8221;            like this:</p>
<p><strong>$number_sections = 20;</strong></p>
<p>The dollar sign and variable name comes first, then an equals sign. After the equals sign, you tell your variable what it will be doing. Holding the number 20, in our case.</p>
<p>The equals sign is not really an equals sign. It&#8217;s called an assignment operator.</p>
<p><strong>Note : </strong></p>
<ol>
<li><strong>The equals sign is not really an equals sign. It&#8217;s called an assignment operator.</strong></li>
<li><strong>PHP does not require variables to be declared before being initialized.</strong></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.vn4000.net/how-to-put-numbers-into-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

