<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for function</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this tag.</description>
		<pubDate>Tue, 14 Oct 2008 11:01:50 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>String.reverse() in javascript</title>
	<link>http://www.bytemycode.com/snippets/snippet/400/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/400/comments/</comments>
	<pubDate>Wed, 27 Sep 2006 10:51:34 +0000</pubDate>
	<dc:creator>shachi</dc:creator>
	<category>function, reverse, String</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/400/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Wed. Sep. 27th, 2006  10:51 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/400/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_scripter.gif" align="middle" class="icon" alt="Scripter" /> <a href="http://www.bytemycode.com/members/member/shachi/" title="Scripter">shachi</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/function">function</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/reverse">reverse</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/String">String</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/400/comments/">3 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 7
			<p>Turns any string backwards. If you input "Test" it gives out "tseT". Hope it's useful.<img src="http://www.bytemycode.com/img/wysiwyg/emo-bigsmile.gif" /> <br /><br />The snippet shows how to use it.</p>
		]]>
	</description>
</item><item>
	<title>Load File, Remove last few lines</title>
	<link>http://www.bytemycode.com/snippets/snippet/315/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/315/comments/</comments>
	<pubDate>Fri, 25 Aug 2006 03:44:44 +0000</pubDate>
	<dc:creator>Cyber-Drugs</dc:creator>
	<category>???, function, implode, phpcode, return, unset, while</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/315/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Fri. Aug. 25th, 2006  3:44 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/315/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/Cyber-Drugs/" title="Helper">Cyber-Drugs</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/%3F%3F%3F">???</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/function">function</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/implode">implode</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/phpcode">phpcode</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/return">return</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/unset">unset</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/while">while</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/315/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 2
			<p>Below is a bit of code, which I needed to make when creating an application which did a lot of file manipulation. If you ever want to load the contents of a file, but remove X amount of lines from the end of the file, use the function below.</p>
		]]>
	</description>
</item><item>
	<title>Convert DOB to Age</title>
	<link>http://www.bytemycode.com/snippets/snippet/314/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/314/comments/</comments>
	<pubDate>Fri, 25 Aug 2006 03:41:12 +0000</pubDate>
	<dc:creator>Cyber-Drugs</dc:creator>
	<category>???, else, function, if, phpcode, return</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/314/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Fri. Aug. 25th, 2006  3:41 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/314/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/Cyber-Drugs/" title="Helper">Cyber-Drugs</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/%3F%3F%3F">???</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/else">else</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/function">function</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/if">if</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/phpcode">phpcode</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/return">return</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/314/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 1
			<p>The below is an old bit of code I threw together when I was developing a Friend Networking site back in 2001. The site didn't last all that long, but I did manage to save all the handy snippets I used in it.<br /><br />Below is code, which will return the age of somebody, when you parse their date of birth to it. I will probably make a cleaner version of the code at a later date and share it with everyone here.</p>
		]]>
	</description>
</item>
	</channel>
</rss>