<?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: Snippet Revisions</title>
		<link>http://www.bytemycode.com</link>
		<description>Revisions for this snippet.</description>
		<pubDate>Wed, 03 Dec 2008 20:55:20 +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>MySQL Lead-In Sentence fragment... 1</title>
		<link>http://www.bytemycode.com/snippets/snippet/413/1/</link>
		<comments>http://www.bytemycode.com/snippets/snippet/413/comments/</comments>
		<pubDate>Thu, 05 Oct 2006 11:49:42 +0000</pubDate>
		<dc:creator>Idlemind</dc:creator>
		<category>mysql, PHP</category>
		<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/413/</guid>
		<description>
			<![CDATA[
				<p>"Today in the news, MySQL previews..."<br /><br />As a "preview" of text, this MySQL select will return the first few words out of a text field in a database.  It returns entire words (doesn't cut them off in the middle) and follows the last word with an elipse "..."<br /><br />In the PHP, assign $CharactersToDisplay to a number - the approximate number of characters desired (or you can hard-code it if you want).<br /><br />For the example, I also use $TheID as the row identity for the record to display.</p>
			]]>
		</description>
	</item>

	
	</channel>
</rss>