<?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/"
	>

<channel>
	<title>technicoSolutions.developerBlog(); &#187; MySQL</title>
	<atom:link href="http://www.technicosolutions.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technicosolutions.com</link>
	<description>a blog by Brandon Johnson of Technico Solutions</description>
	<lastBuildDate>Tue, 24 Aug 2010 04:09:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ping.fm Custom URL Functionality</title>
		<link>http://www.technicosolutions.com/2009/04/ping-fm-custom-url-functionality/</link>
		<comments>http://www.technicosolutions.com/2009/04/ping-fm-custom-url-functionality/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 19:45:00 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">tag:blogger.com,1999:blog-3343170865085826116.post-3308085772552474367</guid>
		<description><![CDATA[Ping.fm is a message posting service that allows you to post to several social networking sites very easily (i.e. Facebook, Twitter, MySpace, etc.).  It also allows you to post to several networks at the same time, and there are various desktop and mobile apps currently available that use this service.  Recently I discovered that it [...]]]></description>
			<content:encoded><![CDATA[<p><a style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" href="http://www.technicosolutions.com/blog/uploaded_images/pingFmLogo-724428.png"><img src="http://www.technicosolutions.com/blog/uploaded_images/pingFmLogo-724426.png" border="0" alt="" /></a>Ping.fm is a <a href="http://ping.fm/">message posting service</a> that allows you to post to several social networking sites very easily (i.e. Facebook, Twitter, MySpace, etc.).  It also allows you to post to several networks at the same time, and there are various desktop and mobile apps currently available that use this service.  Recently I discovered that it also has <strong>custom URL</strong> functionality, which allows you to direct the messages to your personal website or a custom script.  After discovering this, I decided to use this very convenient way to post messages for a personal site of mine.  I created a PHP script and reused some code for posting status updates from a recent client (see previous post, <a href="http://www.technicosolutions.com/2008/08/status-updates-in-mysql/">Status Updates in MySQL</a>).</p>
<p>Below is the list of variables sent with a Ping.fm custom url post:</p>
<ul>
<li>method &#8211; The method of the message being sent (blog, microblog, status).</li>
<li>title &#8211; If method is &#8220;blog&#8221; then this contains the blog&#8217;s title.</li>
<li>message &#8211; The posted message content.</li>
<li>location &#8211; Any location updates posted with the message.  This is plaintext, verbatim from the posting interface.</li>
<li>media &#8211; If media is posted, this will contain a URL to the media file.</li>
<li>raw_message &#8211; If media is posted, this will contain the posted message WITHOUT the hosted media link (i.e. <a href="http://ping.fm/p/12345">http://ping.fm/p/12345</a>).</li>
<li>trigger &#8211; If you post a message with a custom trigger (<a rel="nofollow" href="http://ping.fm/triggers/">http://ping.fm/triggers/</a>), it will show here.</li>
</ul>
<p>All that was needed for my script was to use the $_POST[] array to get the variables from the posted messages and use those variables in my script to insert the data into a MySQL database for later use.  Now I can post news stories, status updates, and blog posts right to my website without having to log in to the administrative backend of my site.  The apps I use to post are <a href="http://www.bryanbartow.com/apps/meping/"><em>Meping</em></a> on the desktop and <a href="http://www.schwenkconsulting.com/?q=node/22"><em>Blackping</em></a> on my Blackberry (requires custom trigger to post to custom url).</p>
<p>I&#8217;ve also thought of several other possibilities with the custom URL ping.fm functionality, such as HTML email marketing, which would normally be difficult to accomplish from a mobile phone, for example.  All you would need to do to accomplish this is put the HTML template in your server-side script along with queries to your customer database and then include some key words in your pinged message that the script can parse (i.e. the location variable can contain which HTML template to use and some filter keywords for which customers to email).</p>
<p>All it takes is a little imagination, and the possibilities are almost endless with the ping.fm custom URL functionality.  For now, I&#8217;m just happy that I can post messages to my website&#8230;  Tomorrow, pinging NASA servers to send rockets into space.</p>
<div class="blogger-post-footer"><img src="https://blogger.googleusercontent.com/tracker/3343170865085826116-3308085772552474367?l=www.technicosolutions.com%2Fblog" alt="" width="1" height="1" /></div>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;partner=sociable" title="Print"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.technicosolutions.com/feed/" title="RSS"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;title=Ping.fm%20Custom%20URL%20Functionality&amp;bodytext=Ping.fm%20is%20a%20message%20posting%20service%20that%20allows%20you%20to%20post%20to%20several%20social%20networking%20sites%20very%20easily%20%28i.e.%20Facebook%2C%20Twitter%2C%20MySpace%2C%20etc.%29.%C2%A0%20It%20also%20allows%20you%20to%20post%20to%20several%20networks%20at%20the%20same%20time%2C%20and%20there%20are%20various%20desktop%20and%20" title="Digg"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;title=Ping.fm%20Custom%20URL%20Functionality&amp;notes=Ping.fm%20is%20a%20message%20posting%20service%20that%20allows%20you%20to%20post%20to%20several%20social%20networking%20sites%20very%20easily%20%28i.e.%20Facebook%2C%20Twitter%2C%20MySpace%2C%20etc.%29.%C2%A0%20It%20also%20allows%20you%20to%20post%20to%20several%20networks%20at%20the%20same%20time%2C%20and%20there%20are%20various%20desktop%20and%20" title="del.icio.us"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;t=Ping.fm%20Custom%20URL%20Functionality" title="Facebook"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;title=Ping.fm%20Custom%20URL%20Functionality&amp;annotation=Ping.fm%20is%20a%20message%20posting%20service%20that%20allows%20you%20to%20post%20to%20several%20social%20networking%20sites%20very%20easily%20%28i.e.%20Facebook%2C%20Twitter%2C%20MySpace%2C%20etc.%29.%C2%A0%20It%20also%20allows%20you%20to%20post%20to%20several%20networks%20at%20the%20same%20time%2C%20and%20there%20are%20various%20desktop%20and%20" title="Google Bookmarks"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;t=Ping.fm%20Custom%20URL%20Functionality" title="HackerNews"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;title=Ping.fm%20Custom%20URL%20Functionality&amp;source=technicoSolutions.developerBlog%28%29%3B+a+blog+by+Brandon+Johnson+of+Technico+Solutions&amp;summary=Ping.fm%20is%20a%20message%20posting%20service%20that%20allows%20you%20to%20post%20to%20several%20social%20networking%20sites%20very%20easily%20%28i.e.%20Facebook%2C%20Twitter%2C%20MySpace%2C%20etc.%29.%C2%A0%20It%20also%20allows%20you%20to%20post%20to%20several%20networks%20at%20the%20same%20time%2C%20and%20there%20are%20various%20desktop%20and%20" title="LinkedIn"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;title=Ping.fm%20Custom%20URL%20Functionality&amp;body=Ping.fm%20is%20a%20message%20posting%20service%20that%20allows%20you%20to%20post%20to%20several%20social%20networking%20sites%20very%20easily%20%28i.e.%20Facebook%2C%20Twitter%2C%20MySpace%2C%20etc.%29.%C2%A0%20It%20also%20allows%20you%20to%20post%20to%20several%20networks%20at%20the%20same%20time%2C%20and%20there%20are%20various%20desktop%20and%20" title="Ping.fm"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F%20Ping.fm%20Custom%20URL%20Functionality" title="Suggest to Techmeme via Twitter"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F" title="Technorati"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="mailto:?subject=Ping.fm%20Custom%20URL%20Functionality&amp;body=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F" title="email"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Ping.fm%20Custom%20URL%20Functionality&amp;link=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F" title="FriendFeed"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F" title="Identi.ca"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;title=Ping.fm%20Custom%20URL%20Functionality" title="Live"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;t=Ping.fm%20Custom%20URL%20Functionality" title="MySpace"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=Ping.fm%20Custom%20URL%20Functionality&amp;url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F" title="Netvibes"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;h=Ping.fm%20Custom%20URL%20Functionality" title="NewsVine"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;partner=sociable" title="PDF"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;title=Ping.fm%20Custom%20URL%20Functionality" title="Reddit"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;title=Ping.fm%20Custom%20URL%20Functionality" title="StumbleUpon"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;t=Ping.fm%20Custom%20URL%20Functionality&amp;s=Ping.fm%20is%20a%20message%20posting%20service%20that%20allows%20you%20to%20post%20to%20several%20social%20networking%20sites%20very%20easily%20%28i.e.%20Facebook%2C%20Twitter%2C%20MySpace%2C%20etc.%29.%C2%A0%20It%20also%20allows%20you%20to%20post%20to%20several%20networks%20at%20the%20same%20time%2C%20and%20there%20are%20various%20desktop%20and%20" title="Tumblr"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Ping.fm%20Custom%20URL%20Functionality%20-%20http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F" title="Twitter"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;t=Ping.fm%20Custom%20URL%20Functionality&opener=bm&amp;ei=UTF-8&amp;d=Ping.fm%20is%20a%20message%20posting%20service%20that%20allows%20you%20to%20post%20to%20several%20social%20networking%20sites%20very%20easily%20%28i.e.%20Facebook%2C%20Twitter%2C%20MySpace%2C%20etc.%29.%C2%A0%20It%20also%20allows%20you%20to%20post%20to%20several%20networks%20at%20the%20same%20time%2C%20and%20there%20are%20various%20desktop%20and%20" title="Yahoo! Bookmarks"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;submitHeadline=Ping.fm%20Custom%20URL%20Functionality&amp;submitSummary=Ping.fm%20is%20a%20message%20posting%20service%20that%20allows%20you%20to%20post%20to%20several%20social%20networking%20sites%20very%20easily%20%28i.e.%20Facebook%2C%20Twitter%2C%20MySpace%2C%20etc.%29.%C2%A0%20It%20also%20allows%20you%20to%20post%20to%20several%20networks%20at%20the%20same%20time%2C%20and%20there%20are%20various%20desktop%20and%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://yigg.de/neu?exturl=http%3A%2F%2Fwww.technicosolutions.com%2F2009%2F04%2Fping-fm-custom-url-functionality%2F&amp;exttitle=Ping.fm%20Custom%20URL%20Functionality" title="Yigg"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.technicosolutions.com/2009/04/ping-fm-custom-url-functionality/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Status Updates in MySQL</title>
		<link>http://www.technicosolutions.com/2008/08/status-updates-in-mysql/</link>
		<comments>http://www.technicosolutions.com/2008/08/status-updates-in-mysql/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 23:20:00 +0000</pubDate>
		<dc:creator>Brandon</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">tag:blogger.com,1999:blog-3343170865085826116.post-3641144383766792913</guid>
		<description><![CDATA[I have been working on a website that required a script that imitates the status updates a la Twitter, Facebook status, MySpace status, etc. This post explains how I programmed that part of the website.
First, as part of a backend CMS, I created a form that submits the status update via PHP to a MySQL [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a website that required a script that imitates the status updates a la Twitter, Facebook status, MySpace status, etc. This post explains how I programmed that part of the website.</p>
<p>First, as part of a backend CMS, I created a form that submits the status update via PHP to a MySQL database. Then I wrote a PHP class that includes a method to query the database for the most recent status update and another method that calls a MySQL stored procedure to get the time of that status update (i.e. &#8220;a few minutes ago&#8221;, &#8220;32 minutes ago&#8221;, &#8220;5 days ago&#8221;, etc.). The following is the code for the MySQL stored procedure that gets the time of the user&#8217;s most recent status update:<br />
<blockquote><span style="font-size: 85%;"><span style="color: blue;">DROP FUNCTION IF EXISTS</span> `my_DB`.`getStatusTime`;</p>
<p>DELIMITER $$<br /><span style="color: green;">/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE=&#8221; */</span> $$<br /><span style="color: blue;">CREATE FUNCTION</span> `my_DB`.`getStatusTime`<span style="color: #3333ff;">(</span>User <span style="color: blue;">VARCHAR</span><span style="color: #3333ff;">(</span>25<span style="color: #3333ff;">))</span> <span style="color: blue;">RETURNS VARCHAR</span><span style="color: #3333ff;">(</span>25<span style="color: #3333ff;">)</span><br /><span style="color: blue;">BEGIN</span><br /><span style="color: blue;">DECLARE</span> TodaysDate <span style="color: blue;">TIMESTAMP</span>;<br /><span style="color: blue;">DECLARE</span> StatusDate <span style="color: blue;">TIMESTAMP</span>;<br /><span style="color: blue;">DECLARE</span> TimeDifference <span style="color: blue;">TIME</span>;<br /><span style="color: blue;">DECLARE</span> Status_Time <span style="color: blue;">VARCHAR</span><span style="color: #3333ff;">(</span>25<span style="color: #3333ff;">)</span>;</p>
<p><span style="color: blue;">SELECT NOW()</span><br /><span style="color: blue;">INTO</span> TodaysDate;</p>
<p><span style="color: blue;">SELECT</span> s.Stat_Updated<br /><span style="color: blue;">INTO</span> StatusDate<br /><span style="color: blue;">FROM</span> T_Status s<br /><span style="color: blue;">INNER JOIN</span> T_Profile p <span style="color: blue;">ON</span> p.Profile_ID=s.Stat_Who<br /><span style="color: blue;">WHERE</span> p.Pr_Name_First=User<br /><span style="color: blue;">ORDER BY</span> s.Stat_Updated desc<br /><span style="color: blue;">LIMIT</span> 1;</p>
<p><span style="color: blue;">SELECT</span> TIMEDIFF<span style="color: #3333ff;">(</span> TodaysDate, StatusDate <span style="color: #3333ff;">)</span><br /><span style="color: blue;">INTO</span> TimeDifference;</p>
<p><span style="color: #3333ff;">SELECT <span style="color: black;">TIMEDIFF</span>( <span style="color: black;">MAKETIME</span>(<span style="color: red;">47</span>,<span style="color: red;">59</span>,<span style="color: red;">59</span>), <span style="color: black;">TimeOfStatus</span> )</span><br /><span style="color: #3333ff;">  INTO <span style="color: black;">YesterdayTimeDifference;</span></span><br /><span style="color: #3333ff;"><br /></span></span><span style="font-size: 85%;"><span style="color: green;">/*//////  Find the time of status update formatted as a string  /////// */</span></span><span style="font-size: 85%;"><span style="color: #3333ff;">  </span><br /><span style="color: #3333ff;">IF HOUR<span style="color: black;"><span style="color: #3333ff;">(</span>TimeOfStatus<span style="color: #3333ff;">)</span></span> &lt; <span style="color: red;">12</span> THEN SET <span style="color: black;">TimeOfStatusString</span> = CONCAT( &#8216; <span style="color: #999999;">at</span> &#8216;, HOUR(<span style="color: black;">TimeOfStatus</span>), &#8216;<span style="color: #999999;">:</span>&#8216;, MINUTE(<span style="color: black;">TimeOfStatus</span>), &#8216;<span style="color: #999999;"> AM</span>&#8216; )<span style="color: black;">;</span></span><br /><span style="color: #3333ff;">ELSEIF HOUR(<span style="color: black;">TimeOfStatus</span>) &lt; <span style="color: red;">13</span> THEN SET <span style="color: black;">TimeOfStatusString</span> = CONCAT( &#8216;<span style="color: #999999;"> at</span> &#8216;, HOUR(<span style="color: black;">TimeOfStatus</span>), &#8216;<span style="color: #999999;">:</span>&#8216;, MINUTE(<span style="color: black;">TimeOfStatus</span>), &#8216; <span style="color: #999999;">PM</span>&#8216; )<span style="color: black;">;</span></span><br /><span style="color: #3333ff;">ELSE SET <span style="color: black;">TimeOfStatusString</span> = CONCAT( &#8216;<span style="color: #999999;"> at</span> &#8216;, HOUR( DATE_SUB( <span style="color: black;">StatusDate</span>, INTERVAL <span style="color: red;">12</span> HOUR ) ), &#8216;<span style="color: #999999;">:</span>&#8216;, MINUTE(<span style="color: black;">TimeOfStatus</span>), &#8216; <span style="color: #999999;">PM</span>&#8216; )<span style="color: black;">;</span></span><br /><span style="color: #3333ff;">END IF<span style="color: black;">;</span></span></p>
<p><span style="color: green;">/*//////  Find the amount of time since most recent status update  /////// */<br />/*<br />Status options:<br />&#8216;a moment ago&#8217;<br />&#8216;less than 1 minute ago&#8217;<br />&#8216;1 minute ago&#8217;<br />&#8216;{n} minutes ago&#8217;<br />&#8216;1 hour ago&#8217;<br />&#8216;{n} hours ago&#8217;<br />&#8216;yesterday at {time}&#8217;<br />&#8216;on {day} at {time}&#8217;<br />&#8216;last {day} at {time}&#8217;<br />&#8216;on {date} at {time}&#8217;<br />*/</span><br /><span style="color: blue;">IF HOUR( <span style="color: black;">TimeDifference</span> ) <span style="color: black;">&lt;</span> <span style="color: red;">1</span> AND MINUTE( <span style="color: black;">TimeDifference</span> ) <span style="color: black;">&lt;</span> 1 THEN SET <span style="color: black;">Status_Time</span> = CONCAT( SECOND( <span style="color: black;">TimeDifference</span> ), &#8216;<span style="color: #999999;"> seconds ago</span>&#8216; )<span style="color: black;">;</span><br />ELSEIF HOUR(<span style="color: black;"> TimeDifference</span> ) &lt; <span style="color: red;">1</span> AND MINUTE( <span style="color: black;">TimeDifference</span> ) &lt; <span style="color: red;">2</span> THEN SET <span style="color: black;">Status_Time</span> = <span style="color: #999999;">&#8216;1 minute ago</span>&#8216;<span style="color: black;">;</span><br />ELSEIF HOUR( <span style="color: black;">TimeDifference </span>) &lt; <span style="color: red;">1</span> AND MINUTE(<span style="color: black;"> TimeDifference</span> ) &lt; <span style="color: red;">60</span> THEN SET <span style="color: black;">Status_Time</span> = CONCAT( MINUTE( <span style="color: black;">TimeDifference </span>), &#8216; <span style="color: #999999;">minutes ago</span>&#8216; )<span style="color: black;">;</span><br />ELSEIF HOUR(<span style="color: black;"> TimeDifference</span> ) &lt; <span style="color: red;">2</span> THEN SET <span style="color: black;">Status_Time</span> = &#8216;<span style="color: #999999;">1 hour ago</span>&#8216;<span style="color: black;">;</span><br />ELSEIF HOUR( <span style="color: black;">TimeDifference</span> ) &lt; <span style="color: red;">24</span> THEN SET <span style="color: black;">Status_Time</span> = CONCAT( HOUR( <span style="color: black;">TimeDifference</span> ), &#8216;<span style="color: #999999;"> hours ago</span>&#8216; )<span style="color: black;">;</span><br />ELSEIF HOUR(<span style="color: black;"> TimeDifference</span> ) &lt; ( <span style="color: black;">YesterdayTimeDifference</span></span> <span style="color: #3333ff;">) AND MINUTE(</span> <span style="color: black;">TimeDifference</span> ) <span style="color: #3333ff;">&lt; MINUTE</span><span style="color: #3333ff;">( </span>YesterdayTimeDifference</span> <span style="color: #3333ff;">) AND SECOND(</span> <span style="color: black;">TimeDifference</span> <span style="color: #3333ff;">) &lt;</span> <span style="color: #3333ff;">SECOND</span><span style="color: #3333ff;">( </span>YesterdayTimeDifference <span style="color: #3333ff;">) THEN SET</span> <span style="color: black;">Status_Time</span> <span style="color: #3333ff;">= CONCAT(</span> &#8216;<span style="color: #999999;">yesterday</span>&#8216;<span style="color: #3333ff;">,</span> <span style="color: black;">TimeOfStatusString</span> <span style="color: #3333ff;">)</span><span style="color: black;">;</span><br /><span style="color: #3333ff;">ELSEIF HOUR(</span> <span style="color: black;">TimeDifference</span> <span style="color: #3333ff;">) &lt;</span> <span style="color: red;">144</span> <span style="color: #3333ff;">THEN SET</span> <span style="color: black;">Status_Time</span> <span style="color: #3333ff;">= CONCAT(</span> <span style="color: #999999;"><span style="color: black;">&#8216;</span>on</span> &#8216;<span style="color: #3333ff;">, DAYNAME(</span> <span style="color: black;">StatusDate</span> <span style="color: #3333ff;">),</span> <span style="color: black;">TimeOfStatusString</span> <span style="color: #3333ff;">)</span><span style="color: black;">;</span><br /><span style="color: #3333ff;">ELSEIF HOUR(</span> <span style="color: black;">TimeDifference</span> <span style="color: #3333ff;">) &lt;</span> <span style="color: red;">168</span> <span style="color: #3333ff;">THEN SET</span><span style="color: black;"> Status_Time</span> <span style="color: #3333ff;">= CONCAT(</span> &#8216;<span style="color: #999999;">last</span> &#8216;<span style="color: #3333ff;">, DAYNAME(</span> <span style="color: black;">StatusDate </span><span style="color: #3333ff;">),</span> <span style="color: black;">TimeOfStatusString</span> <span style="color: #3333ff;">)</span><span style="color: black;">;</span><br /><span style="color: #3333ff;">ELSE SET</span> <span style="color: black;">Status_Time</span> <span style="color: #3333ff;">= CONCAT(</span> &#8216;<span style="color: #999999;">on</span> &#8216;<span style="color: #3333ff;">, MONTHNAME(</span> <span style="color: black;">StatusDate</span> <span style="color: #3333ff;">),</span> &#8216; &#8216;<span style="color: #3333ff;">, DAY( </span><span style="color: black;">StatusDate</span> <span style="color: #3333ff;">),</span> <span style="color: black;">TimeOfStatusString</span> <span style="color: #3333ff;">)</span><span style="color: black;">;</span><br /><span style="color: #3333ff;">END IF</span><span style="color: black;">;</span></p>
<p><span style="color: blue;">RETURN</span> Status_Time;<br /><span style="color: blue;">END</span> $$<br /><span style="color: green;">/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */</span>  $$</p>
<p>DELIMITER ;</p>
</blockquote>
<p>The script works like a charm! My next project on this site is to create a Flash image slideshow where the images can be managed from the backend&#8230;
<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3343170865085826116-3641144383766792913?l=www.technicosolutions.com%2Fblog'/></div>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;partner=sociable" title="Print"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.technicosolutions.com/feed/" title="RSS"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;title=Status%20Updates%20in%20MySQL&amp;bodytext=I%20have%20been%20working%20on%20a%20website%20that%20required%20a%20script%20that%20imitates%20the%20status%20updates%20a%20la%20Twitter%2C%20Facebook%20status%2C%20MySpace%20status%2C%20etc.%20This%20post%20explains%20how%20I%20programmed%20that%20part%20of%20the%20website.First%2C%20as%20part%20of%20a%20backend%20CMS%2C%20I%20created%20a%20for" title="Digg"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;title=Status%20Updates%20in%20MySQL&amp;notes=I%20have%20been%20working%20on%20a%20website%20that%20required%20a%20script%20that%20imitates%20the%20status%20updates%20a%20la%20Twitter%2C%20Facebook%20status%2C%20MySpace%20status%2C%20etc.%20This%20post%20explains%20how%20I%20programmed%20that%20part%20of%20the%20website.First%2C%20as%20part%20of%20a%20backend%20CMS%2C%20I%20created%20a%20for" title="del.icio.us"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;t=Status%20Updates%20in%20MySQL" title="Facebook"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;title=Status%20Updates%20in%20MySQL&amp;annotation=I%20have%20been%20working%20on%20a%20website%20that%20required%20a%20script%20that%20imitates%20the%20status%20updates%20a%20la%20Twitter%2C%20Facebook%20status%2C%20MySpace%20status%2C%20etc.%20This%20post%20explains%20how%20I%20programmed%20that%20part%20of%20the%20website.First%2C%20as%20part%20of%20a%20backend%20CMS%2C%20I%20created%20a%20for" title="Google Bookmarks"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://news.ycombinator.com/submitlink?u=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;t=Status%20Updates%20in%20MySQL" title="HackerNews"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/hackernews.png" title="HackerNews" alt="HackerNews" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;title=Status%20Updates%20in%20MySQL&amp;source=technicoSolutions.developerBlog%28%29%3B+a+blog+by+Brandon+Johnson+of+Technico+Solutions&amp;summary=I%20have%20been%20working%20on%20a%20website%20that%20required%20a%20script%20that%20imitates%20the%20status%20updates%20a%20la%20Twitter%2C%20Facebook%20status%2C%20MySpace%20status%2C%20etc.%20This%20post%20explains%20how%20I%20programmed%20that%20part%20of%20the%20website.First%2C%20as%20part%20of%20a%20backend%20CMS%2C%20I%20created%20a%20for" title="LinkedIn"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;title=Status%20Updates%20in%20MySQL&amp;body=I%20have%20been%20working%20on%20a%20website%20that%20required%20a%20script%20that%20imitates%20the%20status%20updates%20a%20la%20Twitter%2C%20Facebook%20status%2C%20MySpace%20status%2C%20etc.%20This%20post%20explains%20how%20I%20programmed%20that%20part%20of%20the%20website.First%2C%20as%20part%20of%20a%20backend%20CMS%2C%20I%20created%20a%20for" title="Ping.fm"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home/?status=tip%20@Techmeme%20http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F%20Status%20Updates%20in%20MySQL" title="Suggest to Techmeme via Twitter"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/techmeme.png" title="Suggest to Techmeme via Twitter" alt="Suggest to Techmeme via Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F" title="Technorati"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="mailto:?subject=Status%20Updates%20in%20MySQL&amp;body=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F" title="email"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Status%20Updates%20in%20MySQL&amp;link=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F" title="FriendFeed"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F" title="Identi.ca"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;title=Status%20Updates%20in%20MySQL" title="Live"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;t=Status%20Updates%20in%20MySQL" title="MySpace"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=Status%20Updates%20in%20MySQL&amp;url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F" title="Netvibes"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;h=Status%20Updates%20in%20MySQL" title="NewsVine"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;partner=sociable" title="PDF"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;title=Status%20Updates%20in%20MySQL" title="Reddit"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;title=Status%20Updates%20in%20MySQL" title="StumbleUpon"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;t=Status%20Updates%20in%20MySQL&amp;s=I%20have%20been%20working%20on%20a%20website%20that%20required%20a%20script%20that%20imitates%20the%20status%20updates%20a%20la%20Twitter%2C%20Facebook%20status%2C%20MySpace%20status%2C%20etc.%20This%20post%20explains%20how%20I%20programmed%20that%20part%20of%20the%20website.First%2C%20as%20part%20of%20a%20backend%20CMS%2C%20I%20created%20a%20for" title="Tumblr"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Status%20Updates%20in%20MySQL%20-%20http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F" title="Twitter"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;t=Status%20Updates%20in%20MySQL&opener=bm&amp;ei=UTF-8&amp;d=I%20have%20been%20working%20on%20a%20website%20that%20required%20a%20script%20that%20imitates%20the%20status%20updates%20a%20la%20Twitter%2C%20Facebook%20status%2C%20MySpace%20status%2C%20etc.%20This%20post%20explains%20how%20I%20programmed%20that%20part%20of%20the%20website.First%2C%20as%20part%20of%20a%20backend%20CMS%2C%20I%20created%20a%20for" title="Yahoo! Bookmarks"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;submitHeadline=Status%20Updates%20in%20MySQL&amp;submitSummary=I%20have%20been%20working%20on%20a%20website%20that%20required%20a%20script%20that%20imitates%20the%20status%20updates%20a%20la%20Twitter%2C%20Facebook%20status%2C%20MySpace%20status%2C%20etc.%20This%20post%20explains%20how%20I%20programmed%20that%20part%20of%20the%20website.First%2C%20as%20part%20of%20a%20backend%20CMS%2C%20I%20created%20a%20for&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://yigg.de/neu?exturl=http%3A%2F%2Fwww.technicosolutions.com%2F2008%2F08%2Fstatus-updates-in-mysql%2F&amp;exttitle=Status%20Updates%20in%20MySQL" title="Yigg"><img src="http://www.technicosolutions.com/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.technicosolutions.com/2008/08/status-updates-in-mysql/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
