<?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 Tutorials and code &#187; Basic PHP</title>
	<atom:link href="http://readytousesolutions.com/phpblog/category/basic-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://readytousesolutions.com/phpblog</link>
	<description>PHP tutorials - Examples of the most useful scripts</description>
	<lastBuildDate>Thu, 22 Jul 2010 07:34:24 +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>Php: format decimal numbers</title>
		<link>http://readytousesolutions.com/phpblog/php-format-decimal-numbers/</link>
		<comments>http://readytousesolutions.com/phpblog/php-format-decimal-numbers/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 20:35:18 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[format decimal numbers]]></category>
		<category><![CDATA[how to format decimal places in php]]></category>
		<category><![CDATA[limit decimal places in php]]></category>
		<category><![CDATA[php decimal formatting]]></category>
		<category><![CDATA[php float decimal places]]></category>
		<category><![CDATA[php format number currency]]></category>
		<category><![CDATA[php xlm sitemap priority]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=434</guid>
		<description><![CDATA[Say you need to set the priority of an XML sitemap, and you want it to be nicely formatted as a decimal number between 0 and 1.
Of course you need to print out numbers such as 0.6, maybe for an important but not critical section, or 0.2 for that privacy policy you update only when................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-format-decimal-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove item from array remove null values</title>
		<link>http://readytousesolutions.com/phpblog/remove-item-from-array-remove-null-values/</link>
		<comments>http://readytousesolutions.com/phpblog/remove-item-from-array-remove-null-values/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 14:27:01 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[php array]]></category>
		<category><![CDATA[php array values]]></category>
		<category><![CDATA[php optimization]]></category>
		<category><![CDATA[php performance]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=392</guid>
		<description><![CDATA[Say we want to drop a value from an array, this is simple: just unset it!

unset($myarray[13]);

Sometimes however we may want to perform some more complex clean ups. Such as if we have just exploded an URL for url rewriting, and want to get rid of the null array items placed where the slashes were.
First approach................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/remove-item-from-array-remove-null-values/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>International characters in PHP</title>
		<link>http://readytousesolutions.com/phpblog/international-characters-in-php/</link>
		<comments>http://readytousesolutions.com/phpblog/international-characters-in-php/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:30:15 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[php function]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=339</guid>
		<description><![CDATA[Your feed displays funky characters? European accents turn into a mess? Properly encoding UTF8 characters is the solution. ]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/international-characters-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Write to a file with fwrite</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-write-to-a-file-with-fwrite/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-write-to-a-file-with-fwrite/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 05:22:05 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[file handle]]></category>
		<category><![CDATA[fwrite]]></category>
		<category><![CDATA[php file handle]]></category>
		<category><![CDATA[php fwrite]]></category>
		<category><![CDATA[php write to a file]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=257</guid>
		<description><![CDATA[I showed you earlier in a older post how to open and read text contents from a file. Now it&#8217;s time to see how to write to a file using php function called fwrite().

&#60;?php
$theFileToWriteTo = "textFile.txt";
$fileHandle = fopen($theFileToWriteTo, 'w') or die("cannot open the text file");
$textToWrite = "First text to write here\n";
fwrite($fileHandle, $textToWrite);
$textToWrite = "Second line................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-write-to-a-file-with-fwrite/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Multiple string replace with str_replace</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-multiple-string-replace-with-str_replace/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-multiple-string-replace-with-str_replace/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 04:58:33 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[php multi str_replace]]></category>
		<category><![CDATA[php multiple string replace]]></category>
		<category><![CDATA[php multiple str_replace]]></category>
		<category><![CDATA[php string replace]]></category>
		<category><![CDATA[php str_replace]]></category>
		<category><![CDATA[string replace]]></category>
		<category><![CDATA[str_replace]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=255</guid>
		<description><![CDATA[Well, I already writed about str_replace php function but this tip is very usefull. To recap, the function it&#8217;s used to replace a string by using three paramaters : $stringToSearch, $stringToReplace, $intoString. I showed you how to use it in single operations but we can use it for multiple replaces in one place, by using................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-multiple-string-replace-with-str_replace/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Strpos and Strrpos</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-strpos-and-strrpos/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-strpos-and-strrpos/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 15:31:11 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[Find position of first occurrence of a string]]></category>
		<category><![CDATA[occurrence]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[strpos]]></category>
		<category><![CDATA[strrpos]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=251</guid>
		<description><![CDATA[Basic thing, strpos and strrpos are two php functions which are used to find the position of first and/or last occurrence in a string &#8211; word (usefull for example when you want to build a function to get file extension). I hear you saying enough talking, let me see the available examples :

&#60;?php
//get first occurrence

$string................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-strpos-and-strrpos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : String lenght with strlen</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-string-lenght-with-strlen/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-string-lenght-with-strlen/#comments</comments>
		<pubDate>Tue, 26 May 2009 20:13:34 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[php count characters]]></category>
		<category><![CDATA[php count digits]]></category>
		<category><![CDATA[php string lenght]]></category>
		<category><![CDATA[php strlen]]></category>
		<category><![CDATA[string lenght]]></category>
		<category><![CDATA[strlen]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=228</guid>
		<description><![CDATA[I&#8217;ll be directly on this short one. Shame on me that I didn&#8217;t writed about this untill now : there&#8217;s an interesting php function which you might need frequently called strlen() which translates into string lenght. I&#8217;m sure you met it already into previous tutorials on this php tutorials blog but I think I didn&#8217;t................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-string-lenght-with-strlen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : If condition in the short way (shorthand if)</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-if-condition-in-the-short-way/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-if-condition-in-the-short-way/#comments</comments>
		<pubDate>Thu, 21 May 2009 12:52:59 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[if]]></category>
		<category><![CDATA[if condition]]></category>
		<category><![CDATA[if function]]></category>
		<category><![CDATA[php if]]></category>
		<category><![CDATA[php ternary comparison]]></category>
		<category><![CDATA[php ternary operator]]></category>
		<category><![CDATA[short if]]></category>
		<category><![CDATA[shorthand if]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=225</guid>
		<description><![CDATA[Do you know basical php if() condition right? Yeah, right. Everybody does. To tell the truth, without a comparison operator a language would not be qualified as &#8220;programming language&#8221; (that&#8217;s why HTML is a markup language and not a programming language: it can not do comparisons and alter the program flow according to their results).
But................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-if-condition-in-the-short-way/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : PHP $_POST array</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-php-_post-array/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-php-_post-array/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 09:40:09 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[$_POST array]]></category>
		<category><![CDATA[php $_POST]]></category>
		<category><![CDATA[php $_POST array]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=182</guid>
		<description><![CDATA[Hello folks,
BTW Happy Easter,my traffic this weekend decreased dramatically because of the hollidays, I hope you enjoy it.
I want to clarify something that I might missed to say about php $_POST : this $_POST is an php array, if you want to see yourself, make recursive print with print_r() function. For example if you have................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-php-_post-array/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Substract part of string with substr</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-substract-part-of-string-with-substr/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-substract-part-of-string-with-substr/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 07:16:26 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Basic PHP]]></category>
		<category><![CDATA[php part of a string]]></category>
		<category><![CDATA[php substr]]></category>
		<category><![CDATA[php substract part of a string]]></category>
		<category><![CDATA[substr]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=180</guid>
		<description><![CDATA[Hello,
I didn&#8217;t posted for a long time because I am simply stucked into finding a subject. I made a search into my own blog and I saw that (miraculous btw) I didn&#8217;t writed yet about substr function which helps you to print only a part of a string &#8211; substract it!

&#60;?php
$stringIs = "mystring";
$substract = substr($stringIs,................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-substract-part-of-string-with-substr/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
