<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>&#60;? echo pHpLeGeNd ?&#62;</title>
	<atom:link href="http://phplegend.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://phplegend.wordpress.com</link>
	<description>All Blog's are not same :-)</description>
	<lastBuildDate>Fri, 10 Jun 2011 09:18:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='phplegend.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>&#60;? echo pHpLeGeNd ?&#62;</title>
		<link>http://phplegend.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://phplegend.wordpress.com/osd.xml" title="&#60;? echo pHpLeGeNd ?&#62;" />
	<atom:link rel='hub' href='http://phplegend.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Using bit.ly API with PHP</title>
		<link>http://phplegend.wordpress.com/2010/03/28/using-bit-ly-api-with-php/</link>
		<comments>http://phplegend.wordpress.com/2010/03/28/using-bit-ly-api-with-php/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 17:24:07 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[bit.ly API]]></category>
		<category><![CDATA[bit.ly php]]></category>
		<category><![CDATA[shorten url php]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=98</guid>
		<description><![CDATA[bit.ly &#8211; A service to shorten long URL&#8217;s. Generally this type of service is used for twitter. Here is a PHP function to shorten the URL&#8217;s with bit.ly API function shorten($url) { $version = "2.0.1"; $login = "YOUR LOGIN NAME"; $appkey = "YOUR APP KEY"; //create the URL $api_url = 'http://api.bit.ly/shorten?version='.$version.'&#38;longUrl='.urlencode($url).'&#38;format=xml&#38;login='.$login.'&#38;apiKey='.$appkey; //call the API $curl [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=98&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2010/03/28/using-bit-ly-api-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>How to list tables, columns in MYSQL ?</title>
		<link>http://phplegend.wordpress.com/2010/03/26/how-to-list-tables-columns-in-mysql/</link>
		<comments>http://phplegend.wordpress.com/2010/03/26/how-to-list-tables-columns-in-mysql/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 05:11:48 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[mysql columns]]></category>
		<category><![CDATA[mysql show columns]]></category>
		<category><![CDATA[mysql tables]]></category>
		<category><![CDATA[show tables]]></category>
		<category><![CDATA[table columns]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=94</guid>
		<description><![CDATA[To list all the tables in the current database SHOW TABLES To list columns for a given table (users is the table name) SHOW COLUMNS FROM users (OR) DESC users To search for particular columns in a table SHOW COLUMNS FROM users WHERE FIELD LIKE '%name%'<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=94&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2010/03/26/how-to-list-tables-columns-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>Selecting Random rows in MYSQL result set</title>
		<link>http://phplegend.wordpress.com/2010/03/20/selecting-random-rows-in-mysql-result-set/</link>
		<comments>http://phplegend.wordpress.com/2010/03/20/selecting-random-rows-in-mysql-result-set/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 15:50:29 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[order by rand() mysql]]></category>
		<category><![CDATA[rand() mysql]]></category>
		<category><![CDATA[random rows mysql]]></category>
		<category><![CDATA[select mysql order by]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=90</guid>
		<description><![CDATA[To select random rows from a mysql result set use rand() function with order by clause.&#160; Below is an example $query = "SELECT * FROM posts ORDER BY RAND() LIMIT 10"; In the above query limit can be increased or decreased depending on the number of rows in your result set.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=90&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2010/03/20/selecting-random-rows-in-mysql-result-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>Starting MYSQL Server at boot time in Linux</title>
		<link>http://phplegend.wordpress.com/2010/03/17/starting-mysql-server-at-boot-time-in-linux/</link>
		<comments>http://phplegend.wordpress.com/2010/03/17/starting-mysql-server-at-boot-time-in-linux/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 07:04:11 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos mysql start]]></category>
		<category><![CDATA[mysql server start]]></category>
		<category><![CDATA[mysql start]]></category>
		<category><![CDATA[mysql stop restart status]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=87</guid>
		<description><![CDATA[In order to start your MYSQL Server at boot time run the following command in su (or) sudo mode chkconfig mysqld on To check your mysql service status service mysqld status To start mysql service service mysqld start To stop mysql service service msyqld stop To restart mysql service service msyqld restart<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=87&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2010/03/17/starting-mysql-server-at-boot-time-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>array_sum for multi dimensional arrays in PHP</title>
		<link>http://phplegend.wordpress.com/2010/03/02/array_sum-for-multi-dimensional-arrays-in-php/</link>
		<comments>http://phplegend.wordpress.com/2010/03/02/array_sum-for-multi-dimensional-arrays-in-php/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 07:02:16 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[array php]]></category>
		<category><![CDATA[array_sum php]]></category>
		<category><![CDATA[multi dimensional array php]]></category>
		<category><![CDATA[sum values in php array]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=84</guid>
		<description><![CDATA[Here is a single line code to sum a particular elements in a multi-dimensional array. I too got from GOOGLE only, and this functions really made my day Usage: In the above example $vendor_data is multi dimensional array, and i want sum of the element &#8216;CategoryCount&#8217;. Hope this single line of code helps you..<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=84&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2010/03/02/array_sum-for-multi-dimensional-arrays-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>Importing Gmail Contacts Using CURL and PHP</title>
		<link>http://phplegend.wordpress.com/2010/02/13/importing-gmail-contacts-using-curl-and-php/</link>
		<comments>http://phplegend.wordpress.com/2010/02/13/importing-gmail-contacts-using-curl-and-php/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 06:44:44 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[contact grabber]]></category>
		<category><![CDATA[gmail contacts curl]]></category>
		<category><![CDATA[import gmail contacts curl]]></category>
		<category><![CDATA[import gmail contacts php]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=81</guid>
		<description><![CDATA[Here is the code to import Gmail address book using curl and php. This is very helpful if we want to import the contacts into our site from Gmail. Give a try and please comment on this script. &#60;?php $location = &#34;&#34;; $cookiearr = array(); $csv_source_encoding=&#039;utf-8&#039;; #function get_contacts, accepts as arguments $login (the username) and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=81&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2010/02/13/importing-gmail-contacts-using-curl-and-php/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>How to preserve ordering in MYSQL while using WHERE IN clause ?</title>
		<link>http://phplegend.wordpress.com/2010/01/05/how-to-preserve-ordering-in-mysql-while-using-where-in-clause/</link>
		<comments>http://phplegend.wordpress.com/2010/01/05/how-to-preserve-ordering-in-mysql-while-using-where-in-clause/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 09:59:57 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[mysql in clause]]></category>
		<category><![CDATA[mysql in clause order]]></category>
		<category><![CDATA[mysql where in clause order]]></category>
		<category><![CDATA[ordering mysql where in clause]]></category>
		<category><![CDATA[where in clause mysql]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=72</guid>
		<description><![CDATA[To preserve the ordering of result set while using IN clause of mysql use the following query format Lisiting 1 SELECT * FROM foobar WHERE id IN(345,876,1,334,99543) ORDER BY FIELD(id,345,876,1,334,99543); With the above query the result set will be in the above mentioned order If we use the below query Lisiting 2 SELECT * FROM [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=72&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2010/01/05/how-to-preserve-ordering-in-mysql-while-using-where-in-clause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>How to convert varchar to date data type in MYSQL ?</title>
		<link>http://phplegend.wordpress.com/2010/01/04/how-to-convert-varchar-to-date-data-type-in-mysql/</link>
		<comments>http://phplegend.wordpress.com/2010/01/04/how-to-convert-varchar-to-date-data-type-in-mysql/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 11:54:39 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[MySql]]></category>
		<category><![CDATA[convert varchar to date format]]></category>
		<category><![CDATA[date conversion mysql]]></category>
		<category><![CDATA[date mysql]]></category>
		<category><![CDATA[varhcar to date format mysql]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=67</guid>
		<description><![CDATA[Recently i encountered with a problem of inserting employee data into the mysql database with their date of joining column given in the excel sheet. I have data some thing like(01.12.2002) in the excel file.. I have to insert the same in the database with date format(Y-m-d). I googled some time and got the solution. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=67&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2010/01/04/how-to-convert-varchar-to-date-data-type-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>Multiple Databases, Database Switching in CAKEPHP</title>
		<link>http://phplegend.wordpress.com/2009/09/29/multiple-databases-database-switching-in-cakephp/</link>
		<comments>http://phplegend.wordpress.com/2009/09/29/multiple-databases-database-switching-in-cakephp/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 12:20:55 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[advanced database switching cakephp]]></category>
		<category><![CDATA[change database cakephp]]></category>
		<category><![CDATA[database change]]></category>
		<category><![CDATA[database switching]]></category>
		<category><![CDATA[debug automatic]]></category>
		<category><![CDATA[multiple database]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=57</guid>
		<description><![CDATA[This is a small tip but more powerfu l and useful tweak for the developers who will often change the database configuration details while moving to developement environment to live env and vice versa. &#60;?php class DATABASE_CONFIG { var $development = array( 'driver' =&#62; 'mysql', 'persistent' =&#62; false, 'host' =&#62; 'localhost', 'port' =&#62; '', 'login' [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=57&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2009/09/29/multiple-databases-database-switching-in-cakephp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
		<item>
		<title>Turnoff autocomplete or disable cache in HTML pages</title>
		<link>http://phplegend.wordpress.com/2009/09/18/turnoff-autocomplete-or-disable-cache-in-html-pages/</link>
		<comments>http://phplegend.wordpress.com/2009/09/18/turnoff-autocomplete-or-disable-cache-in-html-pages/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 13:56:06 +0000</pubDate>
		<dc:creator>Aditya Chandra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[autocomplete off]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[disable cache]]></category>

		<guid isPermaLink="false">http://phplegend.wordpress.com/?p=51</guid>
		<description><![CDATA[In some pages(like creditcard payment page or any other authentication page) we have to avoid the drop down which was appeared below the input text elements. This is active by default in a web browser. To avoid the autocomplete of input text elements add autocomplete=&#8221;off&#8221; attribute to your input element. For example.. &#60;input id=&#8221;creditcardnumber&#8221; name=&#8221;creditcardnumber&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phplegend.wordpress.com&amp;blog=3839064&amp;post=51&amp;subd=phplegend&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://phplegend.wordpress.com/2009/09/18/turnoff-autocomplete-or-disable-cache-in-html-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a5e6b9c50c4e832b6cea01e631b0de54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">TUXY</media:title>
		</media:content>
	</item>
	</channel>
</rss>
