<?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>webinfinite.com &#187; PHP</title>
	<atom:link href="http://webinfinite.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://webinfinite.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Jun 2010 16:26:36 +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>Switch Statement</title>
		<link>http://webinfinite.com/php/switch-statement/</link>
		<comments>http://webinfinite.com/php/switch-statement/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 23:44:19 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[switch statment]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=113</guid>
		<description><![CDATA[A PHP switch statement is almost like an IF statement except it is good to use a switch statement when you want to compare many results on the same variable. Example with integer. &#60;?php switch?($i): case 0: echo "i = 0"; break; case 1: echo "i = 1"; break; case 2: echo "i = 2"; [...]]]></description>
			<content:encoded><![CDATA[<p>A PHP switch statement is almost like an IF statement except it is good to use a switch statement when you want to compare many results on the same variable.</p>
<p>Example with integer.</p>
<div class="informalexample">
<div class="example-contents programlisting">
<div class="phpcode"><code><span style="color: #000000;"> <span style="color: #0000bb;">&lt;?php<br />
</span><span style="color: #007700;">switch?(</span><span style="color: #0000bb;">$i</span><span style="color: #007700;">):<br />
case </span><span style="color: #0000bb;">0</span><span style="color: #007700;">:<br />
echo </span><span style="color: #dd0000;">"i = 0"</span><span style="color: #007700;">;<br />
break;<br />
case </span><span style="color: #0000bb;">1</span><span style="color: #007700;">:<br />
echo </span><span style="color: #dd0000;">"i = 1"</span><span style="color: #007700;">;<br />
break;<br />
case </span><span style="color: #0000bb;">2</span><span style="color: #007700;">:<br />
echo </span><span style="color: #dd0000;">"i = 2"</span><span style="color: #007700;">;<br />
break;<br />
default:<br />
echo </span><span style="color: #dd0000;">"i?is?not?equal?to?0,?1?or?2"</span><span style="color: #007700;">;<br />
endswitch;<br />
</span><span style="color: #0000bb;">?&gt;</span> </span> </code></div>
</div>
</div>
<p>Example with a string.</p>
<div class="example-contents programlisting">
<div class="phpcode"><code><span style="color: #000000;"> <span style="color: #0000bb;">&lt;?php<br />
</span><span style="color: #007700;">switch?(</span><span style="color: #0000bb;">$i</span><span style="color: #007700;">)?{<br />
case </span><span style="color: #dd0000;">"eagle</span><span style="color: #007700;">:<br />
echo </span><span style="color: #dd0000;">"i?is eagle"</span><span style="color: #007700;">;<br />
break;<br />
case </span><span style="color: #dd0000;">"hawk"</span><span style="color: #007700;">:<br />
echo </span><span style="color: #dd0000;">"i?is hawk"</span><span style="color: #007700;">;<br />
break;<br />
case </span><span style="color: #dd0000;">"blue jay"</span><span style="color: #007700;">:<br />
echo </span><span style="color: #dd0000;">"i?is blue jay"</span><span style="color: #007700;">;<br />
break;<br />
}<br />
</span><span style="color: #0000bb;">?&gt;</span></span></code></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/php/switch-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I create PHP Functions()</title>
		<link>http://webinfinite.com/php/how-do-i-create-php-functions/</link>
		<comments>http://webinfinite.com/php/how-do-i-create-php-functions/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 22:00:23 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[functions]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=109</guid>
		<description><![CDATA[There are over 700 functions available in php and below I will show you how to create you own function.? Functions all start with the word function(). Here are some things to remember name your functions based on what a function does { start your function put your code } end your function call your [...]]]></description>
			<content:encoded><![CDATA[<p>There are over 700 functions available in php and below I will show you how to create you own function.? Functions all start with the word function(). Here are some things to remember</p>
<ul>
<li>name your functions based on what a function does</li>
<li>{ start your function</li>
<li>put your code</li>
<li>} end your function</li>
<li>call your function</li>
</ul>
<p>&lt;?php function fullname($firstname){ // Start your function with an appropriate function name</p>
<p>// Put your code</p>
<p>$last_name = &#8220;Smith&#8221;;<br />
$full_name= $first_name . &#8221; &#8221; . $last_name;<br />
return $full_name;</p>
<p>} // end your function</p>
<p>&lt;?PHP echo fullname(Joe); ?&gt; //Calling this function will display Joe Smith</p>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/php/how-do-i-create-php-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I explode/implode a string in asp.net</title>
		<link>http://webinfinite.com/php/how-do-explodeimplode-a-string-in-aspnet/</link>
		<comments>http://webinfinite.com/php/how-do-explodeimplode-a-string-in-aspnet/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 23:04:39 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[Asp.net]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[explode]]></category>
		<category><![CDATA[implode]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=92</guid>
		<description><![CDATA[So you want to separate your string using explode or join your string using implode in vb.net? Explode/implode are functions of the php environment and do not exist in asp.net therefore you must use the split() function to get your results for explode and join() for implode. Split() Example mystring = &#8220;hello;sir;how are you&#8221;; arrayData=mystring.Split(mystring,&#8221;;&#8221;) [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to separate your string using explode or join your string using implode in vb.net? Explode/implode are functions of the php environment and do not exist in asp.net therefore you must use the split() function to get your results for explode and join() for implode.</p>
<p><span style="text-decoration: underline;"><strong>Split()</strong><strong> Example</strong></span></p>
<p>mystring = &#8220;hello;sir;how are you&#8221;;</p>
<div id="EchoTopic" class="answerBody quoted">arrayData=mystring.Split(mystring<a class="tfTextLink" style="border-bottom: 1px solid #f78200; color: #f78200; text-decoration: underline; display: inline; background-color: transparent; font-size: 1em; padding-bottom: 1px; position: relative; line-height: 1em;" href="javascript:void(0)"></a>,&#8221;;&#8221;)</div>
<div class="answerBody quoted"><strong><br />
Result</strong></div>
<div class="answerBody quoted">arrayData(0) would equal &#8220;hello&#8221;</div>
<div class="answerBody quoted">arrayData(1) would equal &#8220;sir&#8221;</div>
<div class="answerBody quoted">arrayDate(2) would equal &#8220;how are you&#8221;</div>
<div class="answerBody quoted">
<p><span style="text-decoration: underline;"><strong>Join()</strong><strong> Example</strong></span></div>
<p><code>Dim JoinArray(3)</code></p>
<p><code>JoinArray(0) = "Welcome"<br />
JoinArray(1) = "to"<br />
JoinArray(2) = "Web Infinite"</code><code><br />
</code></p>
<p><code>Dim strSentence as String<br />
strSentence = join(JoinArray) </code></p>
<p><strong>Result</strong><br />
<code>strSentence would equal</code> to &#8220;Welcome to Web Infinite&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/php/how-do-explodeimplode-a-string-in-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post PHP code in WordPress</title>
		<link>http://webinfinite.com/php/post-php-code-in-wordpress/</link>
		<comments>http://webinfinite.com/php/post-php-code-in-wordpress/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 01:38:12 +0000</pubDate>
		<dc:creator>webinfinite</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://webinfinite.com/?p=3</guid>
		<description><![CDATA[Here?s a great website that will transform PHP into html for pasting into WordPress, forums, or anywhere. It?s here.]]></description>
			<content:encoded><![CDATA[<p>Here?s a great website that will transform PHP into html for pasting into WordPress, forums, or anywhere. It?s <a href="http://www.prettyprinter.de/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://webinfinite.com/php/post-php-code-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
