<?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 the Thomas</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this member.</description>
		<pubDate>Sun, 12 Oct 2008 01:16:14 +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>MSSQL Return Identity after Insert</title>
	<link>http://www.bytemycode.com/snippets/snippet/417/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/417/comments/</comments>
	<pubDate>Thu, 05 Oct 2006 20:48:31 +0000</pubDate>
	<dc:creator>Thomas</dc:creator>
	<category>MSSQL</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/417/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. Oct. 5th, 2006  8:48 PM			<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/417/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/Thomas/" title="Helper">Thomas</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/MSSQL">MSSQL</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/417/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 2
			<p>Often when inserting information in a database we need to know the value of the autonumber/identity field so that we can insert related data in another table. MSSQL Server provides a SCOPE_IDENTITY() function for just such a purpose (PHP/MySQL users have the mysql_insert_id() function -- lucky).<br /><br />*This is in the generic section because there is no MSSQL Server or Database section.</p>
		]]>
	</description>
</item><item>
	<title>Basic Ajax Syntax</title>
	<link>http://www.bytemycode.com/snippets/snippet/416/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/416/comments/</comments>
	<pubDate>Thu, 05 Oct 2006 20:12:14 +0000</pubDate>
	<dc:creator>Thomas</dc:creator>
	<category>ajax, JavaScript</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/416/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. Oct. 5th, 2006  8:12 PM			<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/416/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/Thomas/" title="Helper">Thomas</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/ajax">ajax</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/JavaScript">JavaScript</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/416/comments/">3 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 26
			<p>The basic framework of an Ajax-enabled web page. The following JavaScript shows how to send a request for an XML file and how to receive that request. Of course, in a real life scenario, you'll have to implement better error trapping and actually do something with the XML that gets returned.</p>
		]]>
	</description>
</item><item>
	<title>Remove IE's Image Toolbar</title>
	<link>http://www.bytemycode.com/snippets/snippet/411/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/411/comments/</comments>
	<pubDate>Thu, 05 Oct 2006 05:53:53 +0000</pubDate>
	<dc:creator>Thomas</dc:creator>
	<category>HTML, IE, images</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/411/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. Oct. 5th, 2006  5:53 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/411/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/Thomas/" title="Helper">Thomas</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/HTML">HTML</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/IE">IE</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/images">images</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/411/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 13
			<p>If you're an IE user you may have noticed that when you hover on a medium to large sized image, a toolbar appears in the corner of the image. It's basically useless as it accomplishes nothing that can't be done with a right-click.<br /><br />Luckily, Microsoft has included a way for webmasters to disable this function.</p>
		]]>
	</description>
</item><item>
	<title>Hiding from Email Harvesters</title>
	<link>http://www.bytemycode.com/snippets/snippet/408/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/408/comments/</comments>
	<pubDate>Tue, 03 Oct 2006 05:51:14 +0000</pubDate>
	<dc:creator>Thomas</dc:creator>
	<category>Email, JavaScript, spam</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/408/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Tue. Oct. 3rd, 2006  5: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/408/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/Thomas/" title="Helper">Thomas</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/Email">Email</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/JavaScript">JavaScript</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/spam">spam</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/408/comments/">1 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 12
			<p>Here's a simple JavaScript solution to hide your e-mail from many spam scripts while still providing clickable hyperlinks to your visitors.<br /><br />Web crawlers and visitors with JavaScript disabled will see: me [at] mydomain [dot] com. I've seen a lot of people that just leave it at this, but it seems a bit unprofessional in my opinion. With the following code, we can replace that with a fully functional hyperlink.</p>
		]]>
	</description>
</item>
	</channel>
</rss>