<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for MyPhpScriptz</title>
	<atom:link href="http://myphpscriptz.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://myphpscriptz.com</link>
	<description>A Hub for PHP Scripts</description>
	<lastBuildDate>Mon, 02 Apr 2012 15:21:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>Comment on 11 Most Important String Functions in PHP a programmer should know by Abhishek Sanghvi</title>
		<link>http://myphpscriptz.com/2010/09/11-most-important-string-functions-php-a-programmer-should-know/comment-page-1/#comment-28891</link>
		<dc:creator>Abhishek Sanghvi</dc:creator>
		<pubDate>Mon, 02 Apr 2012 15:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://myphpscriptz.com/?p=550#comment-28891</guid>
		<description>Sorry for late reply...

But the below is your solution

&lt;code&gt;&lt; ?php
/*Varsha
arsh
rs
arsh
Varsha*/

$string = &quot;Varsha&quot;;
$stringLen = strlen($string);
$loopCount = $stringLen/2;

$strArr = array();
$dispStr = $string;
$printArr[] = $string;
for($i=1; $i&lt;$loopCount; $i++)
{
   $len = strlen($dispStr);
   $dispStr=substr($dispStr,1,$len-2);
   $printArr[] = $dispStr;
}
$printArrRev = array_reverse($printArr);
unset($printArr[count($printArr)-1]);
$printArray = array_merge($printArr,$printArrRev);
$printStmt = implode(&quot;&lt;br/&gt;&quot;,$printArray);
echo $printStmt;
?&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Sorry for late reply&#8230;</p>
<p>But the below is your solution</p>
<p><code>< ?php<br />
/*Varsha<br />
arsh<br />
rs<br />
arsh<br />
Varsha*/</p>
<p>$string = "Varsha";<br />
$stringLen = strlen($string);<br />
$loopCount = $stringLen/2;</p>
<p>$strArr = array();<br />
$dispStr = $string;<br />
$printArr[] = $string;<br />
for($i=1; $i<$loopCount; $i++)<br />
{<br />
   $len = strlen($dispStr);<br />
   $dispStr=substr($dispStr,1,$len-2);<br />
   $printArr[] = $dispStr;<br />
}<br />
$printArrRev = array_reverse($printArr);<br />
unset($printArr[count($printArr)-1]);<br />
$printArray = array_merge($printArr,$printArrRev);<br />
$printStmt = implode("<br/>",$printArray);<br />
echo $printStmt;<br />
?></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 11 Most Important String Functions in PHP a programmer should know by Deepak Chhabra</title>
		<link>http://myphpscriptz.com/2010/09/11-most-important-string-functions-php-a-programmer-should-know/comment-page-1/#comment-28889</link>
		<dc:creator>Deepak Chhabra</dc:creator>
		<pubDate>Mon, 26 Mar 2012 16:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://myphpscriptz.com/?p=550#comment-28889</guid>
		<description>Sir, 
I have a Question which is based on php looping...

How Can i Print this:- Varsha
                                arsh
                                 rs
                                arsh
                                Varsha
Pls send the answer...</description>
		<content:encoded><![CDATA[<p>Sir,<br />
I have a Question which is based on php looping&#8230;</p>
<p>How Can i Print this:- Varsha<br />
                                arsh<br />
                                 rs<br />
                                arsh<br />
                                Varsha<br />
Pls send the answer&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 11 Most Important String Functions in PHP a programmer should know by fdgdsgfds</title>
		<link>http://myphpscriptz.com/2010/09/11-most-important-string-functions-php-a-programmer-should-know/comment-page-1/#comment-28888</link>
		<dc:creator>fdgdsgfds</dc:creator>
		<pubDate>Thu, 08 Mar 2012 10:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://myphpscriptz.com/?p=550#comment-28888</guid>
		<description>see http://www.tizag.com/phpT/php-string-explode.php</description>
		<content:encoded><![CDATA[<p>see <a href="http://www.tizag.com/phpT/php-string-explode.php" rel="nofollow">http://www.tizag.com/phpT/php-string-explode.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 11 Most Important String Functions in PHP a programmer should know by fdgdsgfds</title>
		<link>http://myphpscriptz.com/2010/09/11-most-important-string-functions-php-a-programmer-should-know/comment-page-1/#comment-28887</link>
		<dc:creator>fdgdsgfds</dc:creator>
		<pubDate>Thu, 08 Mar 2012 10:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://myphpscriptz.com/?p=550#comment-28887</guid>
		<description>PHP String Reference Complete PHP String Reference. Definition and Usage. The explode() function breaks a string into an array.PHP String Reference Complete PHP String Reference. Definition and Usage. The explode() function breaks a string into an array.</description>
		<content:encoded><![CDATA[<p>PHP String Reference Complete PHP String Reference. Definition and Usage. The explode() function breaks a string into an array.PHP String Reference Complete PHP String Reference. Definition and Usage. The explode() function breaks a string into an array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 11 Most Important String Functions in PHP a programmer should know by fdgdsgfds</title>
		<link>http://myphpscriptz.com/2010/09/11-most-important-string-functions-php-a-programmer-should-know/comment-page-1/#comment-28886</link>
		<dc:creator>fdgdsgfds</dc:creator>
		<pubDate>Thu, 08 Mar 2012 10:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://myphpscriptz.com/?p=550#comment-28886</guid>
		<description>PHP String Reference Complete PHP String Reference. Definition and Usage. The explode() function breaks a string into an array.</description>
		<content:encoded><![CDATA[<p>PHP String Reference Complete PHP String Reference. Definition and Usage. The explode() function breaks a string into an array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Create Your First iPhone Application by How to create your first app</title>
		<link>http://myphpscriptz.com/2010/10/how-to-create-your-first-iphone-application/comment-page-1/#comment-28885</link>
		<dc:creator>How to create your first app</dc:creator>
		<pubDate>Mon, 20 Feb 2012 08:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://myphpscriptz.com/?p=638#comment-28885</guid>
		<description>Nice post! Thank you!!!</description>
		<content:encoded><![CDATA[<p>Nice post! Thank you!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Invoicing Software ? BambooInvoice by Abhishek Sanghvi</title>
		<link>http://myphpscriptz.com/2010/09/open-source-invoicing-software-bambooinvoice/comment-page-1/#comment-28884</link>
		<dc:creator>Abhishek Sanghvi</dc:creator>
		<pubDate>Thu, 16 Feb 2012 17:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://myphpscriptz.com/?p=464#comment-28884</guid>
		<description>I am glad that the information is helpful to you. Keep visiting this blog.</description>
		<content:encoded><![CDATA[<p>I am glad that the information is helpful to you. Keep visiting this blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Open Source Invoicing Software ? BambooInvoice by Surya Adi Sapoetra</title>
		<link>http://myphpscriptz.com/2010/09/open-source-invoicing-software-bambooinvoice/comment-page-1/#comment-28883</link>
		<dc:creator>Surya Adi Sapoetra</dc:creator>
		<pubDate>Wed, 15 Feb 2012 00:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://myphpscriptz.com/?p=464#comment-28883</guid>
		<description>this is what i&#039;m looking for, thanks for information...</description>
		<content:encoded><![CDATA[<p>this is what i&#8217;m looking for, thanks for information&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

