<?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>websitedesignby.com &#187; Programming</title>
	<atom:link href="http://www.websitedesignby.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.websitedesignby.com</link>
	<description>Web Site Design and Programming - Naples, Florida</description>
	<lastBuildDate>Sat, 04 Jun 2011 13:17:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Video Player</title>
		<link>http://www.websitedesignby.com/flash/video-player/</link>
		<comments>http://www.websitedesignby.com/flash/video-player/#comments</comments>
		<pubDate>Sat, 07 May 2011 13:56:58 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Action Script]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[website design]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[MediaBox]]></category>
		<category><![CDATA[MooFlow]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=1079</guid>
		<description><![CDATA[We now have a demo up featuring a video player developed by Ross Sabes. 

This player utilizes a full featured custom back-end video database management tool.

Each video title can support multiple files in a variety of formats (FLV, MP4, Ogg, WebM, etc&#8230;) and settings for maximum compatibility and performance across the widest possible array of [...]]]></description>
			<content:encoded><![CDATA[<p>We now have a demo up featuring a video player developed by Ross Sabes. </p>
<p><a href="http://demo.websitedesignby.com" target="_blank"><img src="http://www.websitedesignby.com/wp-content/uploads/main-730.jpg" alt="Video Player" title="Video Player" width="730" height="486" class="alignnone size-full wp-image-1085" target="_blank" /></a></p>
<p>This player utilizes a full featured custom back-end video database management tool.</p>
<p><img src="http://www.websitedesignby.com/wp-content/uploads/screenshot-list.jpg" alt="Web Video Player Admin" title="Web Video Player Admin" width="730" height="636" class="alignnone size-full wp-image-1088" /></p>
<p>Each video title can support multiple files in a variety of formats (FLV, MP4, Ogg, WebM, etc&#8230;) and settings for maximum compatibility and performance across the widest possible array of devices. The player can be customized to detect the users bandwidth and play the most suitable Flash format available. If the visitor is using an iPad, iPhone or iPod the player is programmed to use the compatible MP4 format with both high and low bandwidth options if available.</p>
<p><img src="http://www.websitedesignby.com/wp-content/uploads/screenshot-edit-video.jpg" alt="Video Edit Screen" title="Video Edit" width="730" height="873" class="alignnone size-full wp-image-1091" /></p>
<p>Videos can be assigned to multiple pages by the administrator.<div id="attachment_1093" class="wp-caption alignright" style="width: 389px"><img src="http://www.websitedesignby.com/wp-content/uploads/select_pages.jpg" alt="Select Pages for the Video to Appear On" title="Select Pages" width="379" height="195" class="size-full wp-image-1093" /><p class="wp-caption-text">Select pages for the video to appear on.</p></div></p>
<p>Videos can also be tagged for search engines and other custom functionality.<img src="http://www.websitedesignby.com/wp-content/uploads/select_tags.jpg" alt="Tag videos for addtitional functionality" title="Select Tags" width="373" height="387" class="alignright size-full wp-image-1095" /></p>
<p><a href="http://demo.websitedesignby.com" target="_blank">Visit the front-end here</a><br />
For a demo of the back-end <a href="http://www.websitedesignby.com/profile/">contact us</a>.</p>
<p>This program was developed using:<br />
<a href="http://mootools.net/" target="_blank">MooTools</a><br />
<a href="http://iaian7.com/webcode/Mediabox" target="_blank">MediaBox</a><br />
and <a href="http://www.outcut.de/MooFlow/">MooFlow</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fflash%2Fvideo-player%2F&amp;linkname=Video%20Player"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/flash/video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MediaBox / Flash Safari Issue Solution</title>
		<link>http://www.websitedesignby.com/flash/mediabox-flash-safari-issue-solution/</link>
		<comments>http://www.websitedesignby.com/flash/mediabox-flash-safari-issue-solution/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 20:55:54 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[MediaBox]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=1015</guid>
		<description><![CDATA[MediaBox is a very cool MooTools based JavaScript modal overlay. It has a bunch of bundled in features for displaying various types of media and galleries.
One issue that Google would not help me solve was embedded Flash not appearing in the media box in Safari. I could switch tabs then switch back and the Flash [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://iaian7.com/webcode/Mediabox" target="_blank">MediaBox</a> is a very cool <a href="http://mootools.net/" target="_blank">MooTools</a> based JavaScript modal overlay. It has a bunch of bundled in features for displaying various types of media and galleries.</p>
<p>One issue that Google would not help me solve was embedded Flash not appearing in the media box in Safari. I could switch tabs then switch back and the Flash would magically appear. I assumed it was a display conflict Safari was having when everything fired at once with the loading of the MediaBox and the Flash embed. A more elegant solution may involve a listener object on the mediabox, but this seems to resolve it.</p>
<p>My solution was to simply delay the swfobject flash embed by half a second using setTimer();.</p>
<p><strong>Here is the version that does not work in Safari (mac):</strong><br />
<a href="http://www.websitedesignby.com/mediabox/mediabox-flash-notimer.html" target="_blank">http://www.websitedesignby.com/mediabox/mediabox-flash-notimer.html</a></p>
<p><strong>Here is the fix with the timer:</strong><br />
<a href="http://www.websitedesignby.com/mediabox/mediabox-flash.html" target="_blank">http://www.websitedesignby.com/mediabox/mediabox-flash.html</a></p>
<p><strong>Direct link to box content containing hack/fix:</strong><br />
<a href="http://www.websitedesignby.com/mediabox/mediabox-flash-box.html" target="_blank">http://www.websitedesignby.com/mediabox/mediabox-flash-box.html</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fflash%2Fmediabox-flash-safari-issue-solution%2F&amp;linkname=MediaBox%20%2F%20Flash%20Safari%20Issue%20Solution"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/flash/mediabox-flash-safari-issue-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database Driven Websites</title>
		<link>http://www.websitedesignby.com/programming/database-driven-websites/</link>
		<comments>http://www.websitedesignby.com/programming/database-driven-websites/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 14:34:29 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[website design]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=761</guid>
		<description><![CDATA[There are 2 ways a website can be developed: either as static web pages or as dynamic (database driven) web pages. Let's discuss both varieties:]]></description>
			<content:encoded><![CDATA[<p>There are 2 ways a website can be developed: either as static web pages or as dynamic (database driven) web pages. Let&#8217;s discuss both varieties:</p>
<p><strong>Static Web Pages</strong><br />
All web pages are displayed using HTML code. Static web pages are essentially a series of linked HTML documents. To make a change to a static website one must edit the HTML code directly on each page. While this may work for a simple web site that has 3 or 4 pages, it quickly becomes inefficient as your web site grows in depth and complexity. </p>
<p><img src="http://www.websitedesignby.com/wp-content/uploads/databasedriven1.png" alt="Database Symbol" title="databasedriven" width="75" height="136" style="padding-left:20px;" align="right" /><strong>Dynamic, Database Driven Web Pages</strong><br />
Database driven websites are fast becoming the standard for website development. The content on a dynamic website is maintained in a database. When a visitor requests information for a page, product, article or photo, that request is processed and returned by a database.</p>
<p><strong>Web Site Maintenance</strong><br />
Typically the information in the database is maintained through a secure administrator log-in area. A well designed administrator log-in area makes it easy for anyone to update the website content without having to learn HTML or sophisticated website design software. </p>
<p><img src="http://www.websitedesignby.com/wp-content/uploads/page_editor.gif" alt="Content Management Area" title="page_editor" width="704" height="403" class="alignnone size-full wp-image-802" /></p>
<p>If you are interested in developing a dynamic, database driven website, have static web pages that need to be converted or want help with an existing dynamic website please <a href="/profile"><strong>contact us</strong></a> for a free consultation. We will be happy to discuss the various benefits and options available to you.</p>
<p>You can also use the <a href="http://www.websitedesignby.com/programming/database-driven-websites/#respond">comments form below</a> for additional discussion and questions.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fprogramming%2Fdatabase-driven-websites%2F&amp;linkname=Database%20Driven%20Websites"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/programming/database-driven-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress Website Development Work Flow: wp-config.php</title>
		<link>http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/</link>
		<comments>http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 12:59:00 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=642</guid>
		<description><![CDATA[When I am working on a website I have a local development version that I program and test locally. When an update is implemented, it is tested locally before it is copied to the live server. Wordpress sites are treated no differently. Here is how you can make the wp-config.php portable to work in your [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.websitedesignby.com/wp-content/uploads/local_live_sign1.jpg" alt="" title="local_live_sign" width="300" height="257" class="alignnone size-full wp-image-667" align="right" style="padding:10px;" />When I am working on a website I have a local development version that I program and test locally. When an update is implemented, it is tested locally before it is copied to the live server. Wordpress sites are treated no differently. Here is how you can make the wp-config.php portable to work in your live and local environment. Simply replace the variables below with the actual information for your web site and you will be have a wp-config.php that can happily thrive in both environments. </p>
<p>I defined an additional constant &#8216;LIVE&#8217; that I can refer to elsewhere in my code to determine if I am on the live server or not.</p>
<p><strong>wp-config.php</strong></p>
<div class="code">
<?php<br />
<span class="highlight"><br />
if($_SERVER['HTTP_HOST']==&#8217;livedomain.com&#8217; || $_SERVER['HTTP_HOST']==&#8217;www.livedomain.com&#8217;){</p>
<div class="indent">
	define(&#8216;DB_NAME&#8217;, &#8216;db_name_live&#8217;);    // The name of the database<br />
	define(&#8216;DB_USER&#8217;, &#8216;mysql_username_live&#8217;);     // Your MySQL username<br />
	define(&#8216;DB_PASSWORD&#8217;, &#8216;mysql_password_live&#8217;); // &#8230;and password<br />
	define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);    // db host<br />
	define(&#8216;DB_CHARSET&#8217;, &#8216;utf8&#8242;);<br />
	define(&#8216;DB_COLLATE&#8217;, &#8221;);<br />
	define(&#8216;AUTH_KEY&#8217;, &#8216;put your unique phrase here&#8217;);<br />
	define(&#8216;SECURE_AUTH_KEY&#8217;, &#8216;put your unique phrase here&#8217;);<br />
	define(&#8216;LOGGED_IN_KEY&#8217;, &#8216;put your unique phrase here&#8217;);<br />
	define(&#8216;LIVE&#8217;, true);
</div>
<p>}else{</p>
<div class="indent">
	define(&#8216;DB_NAME&#8217;, &#8216;name_of_db_local&#8217;);    // The name of the database<br />
	define(&#8216;DB_USER&#8217;, &#8216;mysql_username_local&#8217;);     // Your MySQL username<br />
	define(&#8216;DB_PASSWORD&#8217;, &#8216;mysql_password_local&#8217;); // &#8230;and password<br />
	define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);    // db host<br />
	define(&#8216;DB_CHARSET&#8217;, &#8216;utf8&#8242;);<br />
	define(&#8216;DB_COLLATE&#8217;, &#8221;);<br />
	define(&#8216;AUTH_KEY&#8217;, &#8216;put your unique phrase here&#8217;);<br />
	define(&#8216;SECURE_AUTH_KEY&#8217;, &#8216;put your unique phrase here&#8217;);<br />
	define(&#8216;LOGGED_IN_KEY&#8217;, &#8216;put your unique phrase here&#8217;);<br />
	define(&#8216;LIVE&#8217;, false);
</div>
<p>}<br />
</span><br />
// You can have multiple installations in one database if you give each a unique prefix<br />
$table_prefix  = &#8216;wp_&#8217;;   // Only numbers, letters, and underscores please!</p>
<p>// Change this to localize WordPress.  A corresponding MO file for the<br />
// chosen language must be installed to wp-content/languages.<br />
// For example, install de.mo to wp-content/languages and set WPLANG to &#8216;de&#8217;<br />
// to enable German language support.<br />
define (&#8216;WPLANG&#8217;, &#8221;);</p>
<p>/* That&#8217;s all, stop editing! Happy blogging. */</p>
<p>if ( !defined(&#8216;ABSPATH&#8217;) )<br />
	define(&#8216;ABSPATH&#8217;, dirname(__FILE__) . &#8216;/&#8217;);<br />
require_once(ABSPATH . &#8216;wp-settings.php&#8217;);<br />
?></p>
</div>
<h3>MySQL Queries</h3>
<p>Another thing to be conscious of when moving between a live and local server environment with Wordpress are couple of records in the wp_options table of the database. The <em>siteurl</em> and <em>liveurl</em> records will be different in your local environment and live environment. If you copy your database from one to the other, just run the appropriate query below (with the <em>liveurl</em> and <em>localurl</em> variables changed to your actual data) depending on if you are copying from local to live or live to local.</p>
<h3>Live to Local Query</h3>
<p>Run query on local database.</p>
<div class="code">
UPDATE wp_options SET option_value=&#8217;http://localurl.com&#8217; WHERE option_name=&#8217;siteurl&#8217; ;</p>
<p>UPDATE wp_options SET option_value=&#8217;http://localurl.com&#8217; WHERE option_name=&#8217;home&#8217;
</p></div>
<h3>Local to Live Query</h3>
<p>Run query on live database.</p>
<div class="code">
UPDATE wp_options SET option_value=&#8217;<em>http://liveurl.com</em>&#8216; WHERE option_name=&#8217;siteurl&#8217; ;</p>
<p>UPDATE wp_options SET option_value=&#8217;http://liveurl.com&#8217; WHERE option_name=&#8217;home&#8217;
</p></div>
<p>If you have any questions or suggestions, your comments are welcome below.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fprogramming%2Fwordpress-website-development-work-flow-wp-config-php%2F&amp;linkname=Wordpress%20Website%20Development%20Work%20Flow%3A%20wp-config.php"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What is this Wave you speak of?</title>
		<link>http://www.websitedesignby.com/apis/what-is-this-wave-you-speak-of/</link>
		<comments>http://www.websitedesignby.com/apis/what-is-this-wave-you-speak-of/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 12:27:59 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[google code]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=609</guid>
		<description><![CDATA[
If you do a lot of Emailing back in forth as I often do, you may want to try Google Wave. Google Wave is still an invitation-only beta (Gmail was an invitation-only beta from 2004-2007 years before being released to the public), so you will need an invite to start using it. I have about [...]]]></description>
			<content:encoded><![CDATA[<p>
If you do a lot of Emailing back in forth as I often do, you may want to try Google Wave.<img src="http://www.websitedesignby.com/wp-content/uploads/tim.jpg" alt="Tim the Enchanter" title="Tim the Enchanter" width="100" height="99" class="size-full wp-image-610" align="left" style="margin-right:10px;" /> Google Wave is still an invitation-only beta <em>(Gmail was an invitation-only beta from 2004-2007 years before being released to the public)</em>, so you will need an invite to start using it. I have about 10 invites left, so you can drop me a note and I will send you one if you are interested in trying it and promise to post something nice in <a href="http://www.websitedesignby.com/wave/">my wave</a>. Google Wave is hard to describe as I am quite a wave newbie myself. It is an amalgamation of Email, chat, bulletin board, shared document and a live meeting.</p>
<p><a href="http://www.websitedesignby.com/wave/"><img src="http://www.websitedesignby.com/wp-content/uploads/google_wave.jpg" alt="Google Wave" title="Google Wave" width="239" height="205" align="right" /></a>Since wave is currently the bleeding edge of technology, you will need a couple things besides an invite to make your web browser Wave ready. First of all I recommend using <a href="http://www.mozilla.com/firefox">Firefox</a>, so if you don&#8217;t have that web browser go ahead and install it. Next go install <a href="http://gears.google.com/" target="_blank">gears</a>. Ok you should be all set! Now go visit <a href="http://www.websitedesignby.com/wave/">my wave</a> and try it out.</p>
<p>You will probably need to watch some of the videos and read the instructions at <a href="http://wave.google.com/about.html" target="_blank">wave.google.com/about.html</a>. If you have other resources and links, please share them in <a href="http://www.websitedesignby.com/wave/">my wave</a>. I am still a little perplexed by it all myself, but see some potential here. Who knows, maybe this thing will be really useful when it gets out of beta in 2013.</p>
<p>Thanks <a href="http://blog.zenika.com/index.php?post/2010/01/27/Google-Wave-Embedded-API-the-missing-tutorial">blog.zenika.com</a> for sorting out the details.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fapis%2Fwhat-is-this-wave-you-speak-of%2F&amp;linkname=What%20is%20this%20Wave%20you%20speak%20of%3F"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/apis/what-is-this-wave-you-speak-of/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe Flash CS5 is Coming&#8230;</title>
		<link>http://www.websitedesignby.com/flash/adobe-flash-cs5-is-coming/</link>
		<comments>http://www.websitedesignby.com/flash/adobe-flash-cs5-is-coming/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 12:11:56 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Action Script]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Creative Suite]]></category>
		<category><![CDATA[cs5]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=574</guid>
		<description><![CDATA[I am much more excited about the release of CS5 than I was for the launch of the iPad. This one looks like it might actually be worthy of the hype.]]></description>
			<content:encoded><![CDATA[<p>I am looking forward to the launch of Adobe CS5. Although I have never been an early adopter of major software releases, preferring to read others feedback and take my time to understand the benefit of new features before shelling out hundreds of dollars, this release has my attention.</p>
<p><strong>Adobe Flash CS5</strong><br />
I just got through watching a sneak peak of Flash CS5 at <a href="http://www.gotoandlearn.com" target="_blank">gotoAndLearn.com</a> and it looks like Adobe is hitting the <em>suite</em> spot when it comes to what developers are looking for.</p>
<p>Text handling and fonts have always been a weak point when working in Flash. I am impressed with the features in CS5 that address text flow, better multi-lingual character support and the new font palette.</p>
<p>Flash has established itself as the most popular video streaming platform on the web today. Being able to scrub the video on the stage and add ActionScript cuepoints will be extremely useful timesavers.</p>
<p>Flash&#8217;s real power lies in it&#8217;s powerful ActionScript programming language that gives developers the freedom to shape the user experience without limits. Code snippets and a host of new features make it easier for programmers to control Flash using ActionScript. The XML-based source files are interesting too. From what I can tell at this early stage it looks like Flash is opening up their traditionally closed, complied SWF files for developers to be able to edit it&#8217;s properties and library items on the fly. Not only will this help with using version control, but also unlocks some interesting possibilities with custom content management systems.</p>
<p>The most hype about this release is centered around it&#8217;s <strong>wide distribution</strong> feature. In a nutshell, Adobe wants to allow a project created in Flash to be deployable across any platform (web, desktop, mobile, tablet). Ahead of this release Apple has announced it will not support applications developed using 3rd party (Adobe) software on the operating system running their widely popular iPhones, iTouches and iPads.  This latest plot twist in the friction between Apple and Adobe definitely puts a crimp into this feature. However even without the Apple devices this feature will make it easier for developers to port their applications created in Flash to other popular mobile devices running Google&#8217;s Android, Windows and others. </p>
<p>I am much more excited about the release of Adobe&#8217;s CS5 than I was for the launch of the iPad. This one looks like it might actually be worthy of the hype.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fflash%2Fadobe-flash-cs5-is-coming%2F&amp;linkname=Adobe%20Flash%20CS5%20is%20Coming%26%238230%3B"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/flash/adobe-flash-cs5-is-coming/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NatureSong 2009 Redesign</title>
		<link>http://www.websitedesignby.com/apis/229/</link>
		<comments>http://www.websitedesignby.com/apis/229/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 23:32:31 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PayPal]]></category>
		<category><![CDATA[redesign]]></category>
		<category><![CDATA[UPS]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=229</guid>
		<description><![CDATA[

naturesong.net was redesigned in 2009 to address some issues with the shopping cart, integrate a reseller login so resellers can log in and purchase CDs at a discount and NET 30 payment terms and generally update the look and feel of the site.


The shopping cart and content management system is completely custom. I decided to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.naturesong.net" target="_blank"><img src="http://www.websitedesignby.com/wp-content/uploads/naturesong_700.jpg" alt="Nature Song 2009" title="naturesong.net" width="700" height="542" class="size-medium wp-image-230" /></a></p>
<p>
<a href="http://www.naturesong.net" target="_blank">naturesong.net</a> was redesigned in 2009 to address some issues with the shopping cart, integrate a reseller login so resellers can log in and purchase CDs at a discount and NET 30 payment terms and generally update the look and feel of the site.
</p>
<p>
The shopping cart and content management system is completely custom. I decided to create a custom system for this site because I had a clear vision of how it should work. The owner, Bill Leverick, wanted to be able to easily update the CDs available for sale. I knew there were off-the-shelf shopping carts and content management systems I could probably have used or customized. Because these products had an &#8216;audio sample&#8217; component to them that we needed to attach and be able to associate audio files with multiple products, I decided to build it myself. The site integrates PayPal Website Payments Pro for it&#8217;s merchant service provider and the UPS API to get shipping information from UPS in real-time for orders with quantities above 2 CDs. The AJAX overlay for each product uses the jQuery framework to handle the JavaScript effects.
</p>
<p>
In retrospect I am happy with my decision to go completely custom with this site. It allowed me to develop exactly what the client was looking for without excess functionality that he didn&#8217;t want or need and might have confused the process. It also allowed me to address his fine-tuning requests quickly and not have to compromise because of an off-the-shelf software limitation.
</p>
<p>
Here is a quote from the owner:</p>
<blockquote><p>Ross,<br />
I just logged on to check out the new NatureSong site that you activated today. I am very pleased not only with the graphics, but with the built in ability for me to make necessary changes to the products. You have done a great job and I would heartily recommend you to anyone. Please feel free to use this site and my other web site, <a href="http://www.capcodnewenglandgiftshow.com" target="_blank">Cape Cod &#038; New England Gift Show</a> as examples of your work.<br />
Thanks,<br />
Bill Leverick</p></blockquote>
<p><a href="http://www.naturesong.net" target="_blank">View Project</a></p>
<p><span style="font-size:10px;">The original site I developed in 1998 can be seen <a href="http://www.websitedesignby.com/addesignconcepts/2005/portfolio/flash/naturesong/index_flash.html" target="_blank">here</a>.</span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fapis%2F229%2F&amp;linkname=NatureSong%202009%20Redesign"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/apis/229/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress FB Connect</title>
		<link>http://www.websitedesignby.com/programming/wordpress-fb-connect/</link>
		<comments>http://www.websitedesignby.com/programming/wordpress-fb-connect/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 22:12:50 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[APIs]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=222</guid>
		<description><![CDATA[You can now log in to post comments on my blog using FaceBook via WP-FacebookConnect.
]]></description>
			<content:encoded><![CDATA[<p>You can now log in to post comments on my blog using FaceBook via <a href="http://wiki.developers.facebook.com/index.php/WP-FBConnect" target="_blank">WP-FacebookConnect</a>.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fprogramming%2Fwordpress-fb-connect%2F&amp;linkname=Wordpress%20FB%20Connect"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/programming/wordpress-fb-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UPS Rates API Example Using PHP</title>
		<link>http://www.websitedesignby.com/apis/ups-rates-api-example-using-php/</link>
		<comments>http://www.websitedesignby.com/apis/ups-rates-api-example-using-php/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 15:38:56 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[Shipping]]></category>
		<category><![CDATA[UPS]]></category>

		<guid isPermaLink="false">http://www.websitedesignby.com/?p=185</guid>
		<description><![CDATA[This example uses the php class developed by Mark Sandborn (now hosted at code.google.com here). I made a couple slight modifications to the class.  Using Marks&#8217; class I created this form to serve as a starting point for you to present your user with various UPS shipping options and their associated costs to integrate [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.websitedesignby.com/ups/index.php">This example</a> uses the php class developed by <a href="http://www.marksanborn.net/php/calculating-ups-shipping-rate-with-php/" target="_blank">Mark Sandborn</a> (now hosted at code.google.com <a href="http://code.google.com/p/ups-php/" target="_blank">here</a>). I made a couple slight modifications to the class.  Using Marks&#8217; class I created <a href="http://www.websitedesignby.com/ups/index.php">this form</a> to serve as a starting point for you to present your user with various UPS shipping options and their associated costs to integrate into your own shopping cart.</p>
<p><a href="http://www.websitedesignby.com/ups/Archive.zip">download my sourcecode for the form</a><br />
<a href="http://www.websitedesignby.com/ups/RSS_Tool_06_10_09.pdf" target="_blank">Rates and Service Selection XML Tool Developers Guide from UPS</a></p>
<p>Happy coding!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fapis%2Fups-rates-api-example-using-php%2F&amp;linkname=UPS%20Rates%20API%20Example%20Using%20PHP"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/apis/ups-rates-api-example-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>php and MySQL DATE_FORMAT quick reference</title>
		<link>http://www.websitedesignby.com/programming/sql/php-date/</link>
		<comments>http://www.websitedesignby.com/programming/sql/php-date/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 14:58:28 +0000</pubDate>
		<dc:creator>Ross</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://websitedesignby.com/?p=70</guid>
		<description><![CDATA[I know it&#8217;s lazy, but it&#8217;s handy&#8230;
date(&#8220;Y-m-d H:i:s&#8221;);
function.date.php

table.condensed{
font-size:11px;
font-family: Courier, "Courier New", monospace;
}
table.condensed th{
border:1px solid;
font-weight:bold;
background-color:#cccccc;
padding:3px;
}
table.condensed td{
border:1px solid;
padding:3px;
background-color:#ffffff;
}


The following characters are recognized in the format parameter string


format character
Description
Example returned values




Day
&#8212;
&#8212;


d
Day of the month, 2 digits with leading zeros
01 to 31


D
A textual representation of a day, three letters
Mon through Sun


j
Day of the month without leading zeros
1 to 31


l [...]]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s lazy, but it&#8217;s handy&#8230;</p>
<p>date(&#8220;Y-m-d H:i:s&#8221;);</p>
<p><a href="http://us2.php.net/manual/en/function.date.php" target="_blank">function.date.php</a></p>
<style type="text/css">
table.condensed{
font-size:11px;
font-family: Courier, "Courier New", monospace;
}
table.condensed th{
border:1px solid;
font-weight:bold;
background-color:#cccccc;
padding:3px;
}
table.condensed td{
border:1px solid;
padding:3px;
background-color:#ffffff;
}</p>
</style>
<table class="condensed">
<caption><b>The following characters are recognized in the <i>format</i> parameter string</b></caption>
<thead valign="middle">
<tr valign="middle">
<th><i>format</i> character</th>
<th>Description</th>
<th>Example returned values</th>
</tr>
</thead>
<tbody class="tbody" valign="middle">
<tr valign="middle">
<td align="center"><em class="emphasis">Day</em></td>
<td align="left">&#8212;</td>
<td align="left">&#8212;</td>
</tr>
<tr valign="middle">
<td align="left"><i>d</i></td>
<td align="left">Day of the month, 2 digits with leading zeros</td>
<td align="left"><i>01</i> to <i>31</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>D</i></td>
<td align="left">A textual representation of a day, three letters</td>
<td align="left"><i>Mon</i> through <i>Sun</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>j</i></td>
<td align="left">Day of the month without leading zeros</td>
<td align="left"><i>1</i> to <i>31</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>l</i> (lowercase &#8216;L&#8217;)</td>
<td align="left">A full textual representation of the day of the week</td>
<td align="left"><i>Sunday</i> through <i>Saturday</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>N</i></td>
<td align="left">ISO-8601 numeric representation of the day of the week (added in<br />
           PHP 5.1.0)</td>
<td align="left"><i>1</i> (for Monday) through <i>7</i> (for Sunday)</td>
</tr>
<tr valign="middle">
<td align="left"><i>S</i></td>
<td align="left">English ordinal suffix for the day of the month, 2 characters</td>
<td align="left">
            <i>st</i>, <i>nd</i>, <i>rd</i> or<br />
            <i>th</i>.  Works well with <i>j</i></p>
</td>
</tr>
<tr valign="middle">
<td align="left"><i>w</i></td>
<td align="left">Numeric representation of the day of the week</td>
<td align="left"><i>0</i> (for Sunday) through <i>6</i> (for Saturday)</td>
</tr>
<tr valign="middle">
<td align="left"><i>z</i></td>
<td align="left">The day of the year (starting from 0)</td>
<td align="left"><i>0</i> through <i>365</i></td>
</tr>
<tr valign="middle">
<td align="center"><em class="emphasis">Week</em></td>
<td align="left">&#8212;</td>
<td align="left">&#8212;</td>
</tr>
<tr valign="middle">
<td align="left"><i>W</i></td>
<td align="left">ISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0)</td>
<td align="left">Example: <i>42</i> (the 42nd week in the year)</td>
</tr>
<tr valign="middle">
<td align="center"><em class="emphasis">Month</em></td>
<td align="left">&#8212;</td>
<td align="left">&#8212;</td>
</tr>
<tr valign="middle">
<td align="left"><i>F</i></td>
<td align="left">A full textual representation of a month, such as January or March</td>
<td align="left"><i>January</i> through <i>December</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>m</i></td>
<td align="left">Numeric representation of a month, with leading zeros</td>
<td align="left"><i>01</i> through <i>12</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>M</i></td>
<td align="left">A short textual representation of a month, three letters</td>
<td align="left"><i>Jan</i> through <i>Dec</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>n</i></td>
<td align="left">Numeric representation of a month, without leading zeros</td>
<td align="left"><i>1</i> through <i>12</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>t</i></td>
<td align="left">Number of days in the given month</td>
<td align="left"><i>28</i> through <i>31</i></td>
</tr>
<tr valign="middle">
<td align="center"><em class="emphasis">Year</em></td>
<td align="left">&#8212;</td>
<td align="left">&#8212;</td>
</tr>
<tr valign="middle">
<td align="left"><i>L</i></td>
<td align="left">Whether it&#8217;s a leap year</td>
<td align="left"><i>1</i> if it is a leap year, <i>0</i> otherwise.</td>
</tr>
<tr valign="middle">
<td align="left"><i>o</i></td>
<td align="left">ISO-8601 year number. This has the same value as<br />
            <i>Y</i>, except that if the ISO week number<br />
            (<i>W</i>) belongs to the previous or next year, that year<br />
            is used instead. (added in PHP 5.1.0)</td>
<td align="left">Examples: <i>1999</i> or <i>2003</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>Y</i></td>
<td align="left">A full numeric representation of a year, 4 digits</td>
<td align="left">Examples: <i>1999</i> or <i>2003</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>y</i></td>
<td align="left">A two digit representation of a year</td>
<td align="left">Examples: <i>99</i> or <i>03</i></td>
</tr>
<tr valign="middle">
<td align="center"><em class="emphasis">Time</em></td>
<td align="left">&#8212;</td>
<td align="left">&#8212;</td>
</tr>
<tr valign="middle">
<td align="left"><i>a</i></td>
<td align="left">Lowercase Ante meridiem and Post meridiem</td>
<td align="left"><i>am</i> or <i>pm</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>A</i></td>
<td align="left">Uppercase Ante meridiem and Post meridiem</td>
<td align="left"><i>AM</i> or <i>PM</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>B</i></td>
<td align="left">Swatch Internet time</td>
<td align="left"><i>000</i> through <i>999</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>g</i></td>
<td align="left">12-hour format of an hour without leading zeros</td>
<td align="left"><i>1</i> through <i>12</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>G</i></td>
<td align="left">24-hour format of an hour without leading zeros</td>
<td align="left"><i>0</i> through <i>23</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>h</i></td>
<td align="left">12-hour format of an hour with leading zeros</td>
<td align="left"><i>01</i> through <i>12</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>H</i></td>
<td align="left">24-hour format of an hour with leading zeros</td>
<td align="left"><i>00</i> through <i>23</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>i</i></td>
<td align="left">Minutes with leading zeros</td>
<td align="left"><i>00</i> to <i>59</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>s</i></td>
<td align="left">Seconds, with leading zeros</td>
<td align="left"><i>00</i> through <i>59</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>u</i></td>
<td align="left">Microseconds (added in PHP 5.2.2)</td>
<td align="left">Example: <i>54321</i></td>
</tr>
<tr valign="middle">
<td align="center"><em class="emphasis">Timezone</em></td>
<td align="left">&#8212;</td>
<td align="left">&#8212;</td>
</tr>
<tr valign="middle">
<td align="left"><i>e</i></td>
<td align="left">Timezone identifier (added in PHP 5.1.0)</td>
<td align="left">Examples: <i>UTC</i>, <i>GMT</i>, <i>Atlantic/Azores</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>I</i> (capital i)</td>
<td align="left">Whether or not the date is in daylight saving time</td>
<td align="left"><i>1</i> if Daylight Saving Time, <i>0</i> otherwise.</td>
</tr>
<tr valign="middle">
<td align="left"><i>O</i></td>
<td align="left">Difference to Greenwich time (GMT) in hours</td>
<td align="left">Example: <i>+0200</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>P</i></td>
<td align="left">Difference to Greenwich time (GMT) with colon between hours and minutes (added in PHP 5.1.3)</td>
<td align="left">Example: <i>+02:00</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>T</i></td>
<td align="left">Timezone abbreviation</td>
<td align="left">Examples: <i>EST</i>, <i>MDT</i> &#8230;</td>
</tr>
<tr valign="middle">
<td align="left"><i>Z</i></td>
<td align="left">Timezone offset in seconds. The offset for timezones west of UTC is always<br />
           negative, and for those east of UTC is always positive.</td>
<td align="left"><i>-43200</i> through <i>50400</i></td>
</tr>
<tr valign="middle">
<td align="center"><em class="emphasis">Full Date/Time</em></td>
<td align="left">&#8212;</td>
<td align="left">&#8212;</td>
</tr>
<tr valign="middle">
<td align="left"><i>c</i></td>
<td align="left">ISO 8601 date (added in PHP 5)</td>
<td align="left">2004-02-12T15:19:21+00:00</td>
</tr>
<tr valign="middle">
<td align="left"><i>r</i></td>
<td align="left"><a href="http://www.faqs.org/rfcs/rfc2822" class="link external">» RFC 2822</a> formatted date</td>
<td align="left">Example: <i>Thu, 21 Dec 2000 16:01:07 +0200</i></td>
</tr>
<tr valign="middle">
<td align="left"><i>U</i></td>
<td align="left">Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)</td>
<td align="left">See also <a href="function.time.php" class="function">time()</a></td>
</tr>
</tbody>
</table>
<p>MySQL DATE_FORMAT</p>
<table>
<tbody>
<tr>
<td><span class="bold"><strong>Specifier</strong></span></td>
<td><span class="bold"><strong>Description</strong></span></td>
</tr>
<tr>
<td><code class="literal">%a</code></td>
<td>Abbreviated weekday name<br />
                  (<code class="literal">Sun</code>..<code class="literal">Sat</code>)</td>
</tr>
<tr>
<td><code class="literal">%b</code></td>
<td>Abbreviated month name (<code class="literal">Jan</code>..<code class="literal">Dec</code>)</td>
</tr>
<tr>
<td><code class="literal">%c</code></td>
<td>Month, numeric (<code class="literal">0</code>..<code class="literal">12</code>)</td>
</tr>
<tr>
<td><code class="literal">%D</code></td>
<td>Day of the month with English suffix (<code class="literal">0th</code>,<br />
                  <code class="literal">1st</code>, <code class="literal">2nd</code>,<br />
                  <code class="literal">3rd</code>, …)</td>
</tr>
<tr>
<td><code class="literal">%d</code></td>
<td>Day of the month, numeric (<code class="literal">00</code>..<code class="literal">31</code>)</td>
</tr>
<tr>
<td><code class="literal">%e</code></td>
<td>Day of the month, numeric (<code class="literal">0</code>..<code class="literal">31</code>)</td>
</tr>
<tr>
<td><code class="literal">%f</code></td>
<td>Microseconds (<code class="literal">000000</code>..<code class="literal">999999</code>)</td>
</tr>
<tr>
<td><code class="literal">%H</code></td>
<td>Hour (<code class="literal">00</code>..<code class="literal">23</code>)</td>
</tr>
<tr>
<td><code class="literal">%h</code></td>
<td>Hour (<code class="literal">01</code>..<code class="literal">12</code>)</td>
</tr>
<tr>
<td><code class="literal">%I</code></td>
<td>Hour (<code class="literal">01</code>..<code class="literal">12</code>)</td>
</tr>
<tr>
<td><code class="literal">%i</code></td>
<td>Minutes, numeric (<code class="literal">00</code>..<code class="literal">59</code>)</td>
</tr>
<tr>
<td><code class="literal">%j</code></td>
<td>Day of year (<code class="literal">001</code>..<code class="literal">366</code>)</td>
</tr>
<tr>
<td><code class="literal">%k</code></td>
<td>Hour (<code class="literal">0</code>..<code class="literal">23</code>)</td>
</tr>
<tr>
<td><code class="literal">%l</code></td>
<td>Hour (<code class="literal">1</code>..<code class="literal">12</code>)</td>
</tr>
<tr>
<td><code class="literal">%M</code></td>
<td>Month name (<code class="literal">January</code>..<code class="literal">December</code>)</td>
</tr>
<tr>
<td><code class="literal">%m</code></td>
<td>Month, numeric (<code class="literal">00</code>..<code class="literal">12</code>)</td>
</tr>
<tr>
<td><code class="literal">%p</code></td>
<td>
<code class="literal">AM</code> or <code class="literal">PM</code>
</td>
</tr>
<tr>
<td><code class="literal">%r</code></td>
<td>Time, 12-hour (<code class="literal">hh:mm:ss</code> followed by<br />
                  <code class="literal">AM</code> or <code class="literal">PM</code>)</td>
</tr>
<tr>
<td><code class="literal">%S</code></td>
<td>Seconds (<code class="literal">00</code>..<code class="literal">59</code>)</td>
</tr>
<tr>
<td><code class="literal">%s</code></td>
<td>Seconds (<code class="literal">00</code>..<code class="literal">59</code>)</td>
</tr>
<tr>
<td><code class="literal">%T</code></td>
<td>Time, 24-hour (<code class="literal">hh:mm:ss</code>)</td>
</tr>
<tr>
<td><code class="literal">%U</code></td>
<td>Week (<code class="literal">00</code>..<code class="literal">53</code>), where Sunday is the<br />
                  first day of the week</td>
</tr>
<tr>
<td><code class="literal">%u</code></td>
<td>Week (<code class="literal">00</code>..<code class="literal">53</code>), where Monday is the<br />
                  first day of the week</td>
</tr>
<tr>
<td><code class="literal">%V</code></td>
<td>Week (<code class="literal">01</code>..<code class="literal">53</code>), where Sunday is the<br />
                  first day of the week; used with <code class="literal">%X</code></p>
</td>
</tr>
<tr>
<td><code class="literal">%v</code></td>
<td>Week (<code class="literal">01</code>..<code class="literal">53</code>), where Monday is the<br />
                  first day of the week; used with <code class="literal">%x</code>
</td>
</tr>
<tr>
<td><code class="literal">%W</code></td>
<td>Weekday name (<code class="literal">Sunday</code>..<code class="literal">Saturday</code>)</td>
</tr>
<tr>
<td><code class="literal">%w</code></td>
<td>Day of the week<br />
                  (<code class="literal">0</code>=Sunday..<code class="literal">6</code>=Saturday)</td>
</tr>
<tr>
<td><code class="literal">%X</code></td>
<td>Year for the week where Sunday is the first day of the week, numeric,<br />
                  four digits; used with <code class="literal">%V</code>
</td>
</tr>
<tr>
<td><code class="literal">%x</code></td>
<td>Year for the week, where Monday is the first day of the week, numeric,<br />
                  four digits; used with <code class="literal">%v</code>
</td>
</tr>
<tr>
<td><code class="literal">%Y</code></td>
<td>Year, numeric, four digits</td>
</tr>
<tr>
<td><code class="literal">%y</code></td>
<td>Year, numeric (two digits)</td>
</tr>
<tr>
<td><code class="literal">%%</code></td>
<td>A literal “<span class="quote"><code class="literal">%</code></span>” character</td>
</tr>
<tr>
<td><code class="literal">%<em class="replaceable"><code>x</code></em></code></td>
<td>
<em class="replaceable"><code>x</code></em>, for any<br />
                  “<span class="quote"><em class="replaceable"><code>x</code></em></span>” not listed<br />
                  above</td>
</tr>
</tbody>
</table>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.websitedesignby.com%2Fprogramming%2Fsql%2Fphp-date%2F&amp;linkname=php%20and%20MySQL%20DATE_FORMAT%20quick%20reference"><img src="http://www.websitedesignby.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.websitedesignby.com/programming/sql/php-date/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

