<?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>Viable Web Design</title>
	<atom:link href="http://www.viablewebdesign.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.viablewebdesign.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 16:37:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL UPDATE with INNER JOIN and Subquery Optimisation</title>
		<link>http://www.viablewebdesign.com/mysql-update-with-inner-join-and-subquery-optimisation/</link>
		<comments>http://www.viablewebdesign.com/mysql-update-with-inner-join-and-subquery-optimisation/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 16:37:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sub-select]]></category>
		<category><![CDATA[subquery]]></category>
		<category><![CDATA[update table]]></category>

		<guid isPermaLink="false">http://www.viablewebdesign.com/?p=624</guid>
		<description><![CDATA[Recently working on a project I discovered and learnt something new so I thought I would share it amongst everyone.]]></description>
			<content:encoded><![CDATA[<p>Recently working on a project I discovered and learnt something new so I thought I would share it amongst everyone.</p>
<p>I had to replace data from one column of a database table to the other database table overwriting it&#8217;s column data. The key also was it&#8217;s optimisation as I was dealing with 10,000 products. So anyone intending to use it for tables holding big data this may help!</p>
<p>Here is the query:</p>
<p>UPDATE table1 AS t1<br />
INNER JOIN<br />
(SELECT item_code, image FROM table2 WHERE some_type=&#8217;name&#8217;) AS t2<br />
ON (t2.item_code=t1.item_code)<br />
SET t1.image = t2.image</p>
<p>As simple as that.</p>
<p>Steve Perkins</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viablewebdesign.com/mysql-update-with-inner-join-and-subquery-optimisation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove WordPress tags from header</title>
		<link>http://www.viablewebdesign.com/remove-ordpress-tags-from-header/</link>
		<comments>http://www.viablewebdesign.com/remove-ordpress-tags-from-header/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 13:27:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[head tags in wordpress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.viablewebdesign.com/?p=618</guid>
		<description><![CDATA[Within the Wordpress head tags it can be quite messy. So here is some code to get rid of unwanted tags within the HTML <head> tag.]]></description>
			<content:encoded><![CDATA[<p>Within the WordPress head tags it can be quite messy. So here is some code to get rid of unwanted tags within the HTML &lt;head&gt; tag.</p>
<p>remove_action( &#8216;wp_head&#8217;, &#8216;feed_links_extra&#8217;, 3 ); // Display the links to the extra feeds such as category feeds<br />
remove_action( &#8216;wp_head&#8217;, &#8216;feed_links&#8217;, 2 ); // Display the links to the general feeds: Post and Comment Feed<br />
remove_action( &#8216;wp_head&#8217;, &#8216;rsd_link&#8217; ); // Display the link to the Really Simple Discovery service endpoint, EditURI link<br />
remove_action( &#8216;wp_head&#8217;, &#8216;wlwmanifest_link&#8217; ); // Display the link to the Windows Live Writer manifest file.<br />
remove_action( &#8216;wp_head&#8217;, &#8216;index_rel_link&#8217; ); // index link<br />
remove_action( &#8216;wp_head&#8217;, &#8216;parent_post_rel_link&#8217;, 10, 0 ); // prev link<br />
remove_action( &#8216;wp_head&#8217;, &#8216;start_post_rel_link&#8217;, 10, 0 ); // start link<br />
remove_action( &#8216;wp_head&#8217;, &#8216;adjacent_posts_rel_link&#8217;, 10, 0 ); // Display relational links for the posts adjacent to the current post.<br />
remove_action( &#8216;wp_head&#8217;, &#8216;wp_generator&#8217; ); // Display the XHTML generator that is generated on the wp_head hook, WP version<br />
remove_action( &#8216;wp_head&#8217;, &#8216;profile&#8217; ); // Display the XHTML generator that is generated on the wp_head hook, WP version</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viablewebdesign.com/remove-ordpress-tags-from-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone iOS 4.1 password security unlock flaw</title>
		<link>http://www.viablewebdesign.com/iphone-ios-4-1-password-security-unlock-flaw/</link>
		<comments>http://www.viablewebdesign.com/iphone-ios-4-1-password-security-unlock-flaw/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 12:40:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[iphone 4 security flaw]]></category>
		<category><![CDATA[Security flaw with the IPhone 4 despite having a lock code]]></category>
		<category><![CDATA[security problems with iphone 4]]></category>

		<guid isPermaLink="false">http://www.viablewebdesign.com/?p=603</guid>
		<description><![CDATA[Hi to all that have an iPhone 4 running iOS 4.1 or who are planning to buy one We recently discovered a security flaw with the iPhone 4 despite having a lock code. This is a major security issue, which allows you to access the contacts section without having to unlock the 4 digit lock [...]]]></description>
			<content:encoded><![CDATA[<p>Hi to all that have an iPhone 4 running iOS 4.1 or who are planning to buy one <img src='http://www.viablewebdesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>We recently discovered a security flaw with the iPhone 4 despite having a lock code. This is a major security issue, which allows you to access the contacts section without having to unlock the 4 digit lock code.</p>
<p>In a nutshell if you lose your phone someone could access your contacts list, listen to your answer phone, make calls even international calls without you knowing. You will be piled with a massive bill at the end of month. Not good is it&#8230;?</p>
<p>And this is how it works:</p>
<ol>
<li>Make sure you have your phone locked</li>
<li>Now touch the Emergency Call button</li>
<li>Then enter ###</li>
<li>The moment you have been waiting for&#8230;tap the Call button and immediately hit the Lock button at the top of the phone</li>
<li>Now you should be displayed with the contacts list and all the featured options related.</li>
</ol>
<p>At this point you can do anything browse the contacts list, make a call or listen to an answer phone. We feel this is a major security flaw with the iPhone iOS 4.1 despite having an unlock code and Apple should fix this problem right away!</p>
<p>Thanks for reading this post. Feel free to give your comments on this. </p>
<p>For your information we recently have developed UK&#8217;s premium <a href="http://www.ogleogledo.co.uk/" title="online video advertising platform">online video advertising platform</a> that are currently offering <a href="http://www.ogleogledo.co.uk/" title="free directory listing">free directory listing</a>, <a href="http://www.ogleogledo.co.uk/" title="free video advertising">free video advertising</a> and <a href="http://www.ogleogledo.co.uk/" title="free banner advertising">free banner advertising</a>. Click to visit <a href="http://www.ogleogledo.co.uk/" title="OgleOgleDo">OgleOgleDo</a>.</p>
<p>Steve Perkins</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viablewebdesign.com/iphone-ios-4-1-password-security-unlock-flaw/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Website &#8211; Blue Elephant Telford</title>
		<link>http://www.viablewebdesign.com/new-website-blue-elephant-telford/</link>
		<comments>http://www.viablewebdesign.com/new-website-blue-elephant-telford/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 20:39:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.viablewebdesign.com/?p=573</guid>
		<description><![CDATA[Another new website for the month; Blue Elephant in Telford is a new Contemporary Indian Cuisine in Telford. The beauty about this website is that it&#8217;s connected to our Admin Control Panel making it a Content Management System (CMS). The deadline for this website was 29/11/2009 but the Viable Web Design team had this finished [...]]]></description>
			<content:encoded><![CDATA[<p>Another new website for the month; Blue Elephant in Telford is a new <a href="http://www.blueelephanttelford.com/" title="Contemporary Indian Cuisine in Telford">Contemporary Indian Cuisine in Telford</a>. </p>
<p>The beauty about this website is that it&#8217;s connected to our Admin Control Panel making it a Content Management System (CMS).</p>
<p>The deadline for this website was 29/11/2009 but the Viable <a href="http://www.viablewebdesign.com/services/website-design/" title="Web Design">Web Design</a> team had this finished on 22/11/2009.</p>
<p>This website has good features and functionality such as JQuery Pulldown, AJAX send to a friend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viablewebdesign.com/new-website-blue-elephant-telford/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Website &#8211; Spice Lounge Telford</title>
		<link>http://www.viablewebdesign.com/new-website-spice-lounge-telford/</link>
		<comments>http://www.viablewebdesign.com/new-website-spice-lounge-telford/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 20:05:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.viablewebdesign.com/?p=567</guid>
		<description><![CDATA[Another new website for the month; Spice Lounge in Telford is amongst the top Telford Indian Restaurant. The beauty about this website is that it&#8217;s connected to our Admin Control Panel making it a Content Management System (CMS). The deadline for this website was 01/12/2009 but the Viable Web Design team had this finished on [...]]]></description>
			<content:encoded><![CDATA[<p>Another new website for the month; Spice Lounge in Telford is amongst the top <a href="http://www.spiceloungetelford.co.uk/" title="Telford Indian Restaurants">Telford Indian Restaurant</a>. </p>
<p>The beauty about this website is that it&#8217;s connected to our Admin Control Panel making it a Content Management System (CMS).</p>
<p>The deadline for this website was 01/12/2009 but the Viable <a href="http://www.viablewebdesign.com/services/website-design/" title="Web Design">Web Design</a> team had this finished on 26/11/2009.</p>
<p>We believe in completing our goals before the dealine giving us plenty of time for satisfaction!</p>
<p>This website has good features and functionality such as JQuery Pulldown, AJAX send to a friend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viablewebdesign.com/new-website-spice-lounge-telford/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Website &#8211; 2nd City Driving School</title>
		<link>http://www.viablewebdesign.com/new-website-2nd-city-driving-school/</link>
		<comments>http://www.viablewebdesign.com/new-website-2nd-city-driving-school/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 19:33:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[2nd City Driving School]]></category>
		<category><![CDATA[Driving School in Birmingham]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.viablewebdesign.com/?p=565</guid>
		<description><![CDATA[Our dedicated team of website designers / website developers have created a new website for 2nd City Driving School in Birmingham, West Midlands. All our work is agreed to the user specification and the 2nd City staff were really impressed with the JQuery pulldown and the way certain functionality of the website was achieved. We [...]]]></description>
			<content:encoded><![CDATA[<p>Our dedicated team of website designers / website developers have created a new website for 2nd City <a href="http://www.2ndcitydrivingschool.co.uk/" title="Driving School in Birmingham">Driving School in Birmingham</a>, West Midlands. </p>
<p>All our work is agreed to the user specification and the 2nd City staff were really impressed with the JQuery pulldown and the way certain functionality of the website was achieved.</p>
<p>We have pride in our work and efforts we put towards any project. The deadline for this website was 07/12/2009 but the Viable <a href="http://www.viablewebdesign.com/services/website-design/" title="Web Design">Web Design</a> team had this finished on 04/12/2009.</p>
<p>2nd City Driving School website is based on our content management system that we offer as our back end system that can handle basically everything that you need for your website functionality.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viablewebdesign.com/new-website-2nd-city-driving-school/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to compare two dates in php</title>
		<link>http://www.viablewebdesign.com/how-to-compare-two-dates-in-php/</link>
		<comments>http://www.viablewebdesign.com/how-to-compare-two-dates-in-php/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 14:28:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[compare two dates in php]]></category>
		<category><![CDATA[timestamp for todays date]]></category>

		<guid isPermaLink="false">http://www.viablewebdesign.com/?p=505</guid>
		<description><![CDATA[Now that we know how to convert a formatted date in PHP to timestamp. Let&#8217;s move on to compare two dates. At my workplace I came across and instance where I had to check the posted date wasn&#8217;t less than today&#8217;s date, so let&#8217;s put this in picture so you know the concept behind date [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we know how to convert a formatted date in PHP to timestamp. Let&#8217;s move on to compare two dates.</p>
<p>At my workplace I came across and instance where I had to check the posted date wasn&#8217;t less than today&#8217;s date, so let&#8217;s put this in picture so you know the concept behind date checks if you did come across this situation.</p>
<p>$todays_date=mktime(0,0,0, date(&#8220;m&#8221;), date(&#8220;d&#8221;), date(&#8220;Y&#8221;)); // create timestamp for todays date</p>
<p>if($return_date < $todays_date){ // note $return_date is from the tutorial how to convert a date into a timestamp<br />
       $date_error=&#8221;Date is before todays date&#8221;;<br />
       $error = true;<br />
}</p>
<p>if(!$error){<br />
    // do something<br />
}else{<br />
   echo $date_error;<br />
}</p>
<p>It&#8217;s as simple as that. Hope you have enjoyed this tutorial!<br />
Steve <img src='http://www.viablewebdesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.viablewebdesign.com/how-to-compare-two-dates-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert a date into a timestamp</title>
		<link>http://www.viablewebdesign.com/how-to-convert-a-date-into-a-timestamp/</link>
		<comments>http://www.viablewebdesign.com/how-to-convert-a-date-into-a-timestamp/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 02:48:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[date in php]]></category>
		<category><![CDATA[How to convert a date into a timestamp]]></category>
		<category><![CDATA[timestamp in php]]></category>

		<guid isPermaLink="false">http://www.viablewebdesign.com/?p=498</guid>
		<description><![CDATA[Whether you are posting a date or a passing variable that is a formatted date you can use the function below to convert it into a timestamp function convert_timestamp($delimeter,$date){ $explode_date = explode($delimeter,$date); $new_date = mktime(0,0,0,$explode_date[1],$explode_date[0],$explode_date[2]); return $new_date; } Now to test the function we have created is shown below. $date = &#8220;01/12/2009&#8243;; $delimeter = &#8220;/&#8221;; [...]]]></description>
			<content:encoded><![CDATA[<p>Whether you are posting a date or a passing variable that is a formatted date you can use the function below to convert it into a timestamp</p>
<p>function convert_timestamp($delimeter,$date){<br />
     $explode_date = explode($delimeter,$date);<br />
     $new_date = mktime(0,0,0,$explode_date[1],$explode_date[0],$explode_date[2]);<br />
     return $new_date;<br />
}</p>
<p>Now to test the function we have created is shown below.</p>
<p>$date = &#8220;01/12/2009&#8243;;<br />
$delimeter = &#8220;/&#8221;;</p>
<p>$return_date = convert_timestamp($delimeter,$date);</p>
<p>echo $return_date;</p>
<p>This should output the following: 1259625600 equivalent to 01/12/2009</p>
<p>Hope this helps everyone. I will soon show how you can do a date check once we have the timestamp. So until then keep posted!</p>
<p>Steve</p>
]]></content:encoded>
			<wfw:commentRss>http://www.viablewebdesign.com/how-to-convert-a-date-into-a-timestamp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

