<?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>php</title>
	<atom:link href="http://www.yackyack.co.uk/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yackyack.co.uk</link>
	<description>A Search Marketing Blog</description>
	<lastBuildDate>Fri, 20 Jan 2012 19:41:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>php</title>
		<link>http://www.yackyack.co.uk/google/seo-brain-surgery-perhaps-not-but-its-not-so-far-off/</link>
		<comments>http://www.yackyack.co.uk/google/seo-brain-surgery-perhaps-not-but-its-not-so-far-off/#comments</comments>
		<pubDate>Thu, 11 Jan 2007 12:00:20 +0000</pubDate>
		<dc:creator>robwatts</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[search engines]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.yackyack.co.uk/2007/01/11/seo-brain-surgery-perhaps-not-but-its-not-so-far-off/</guid>
		<description><![CDATA[Tweet Reading this blog here from oilman got me thinking about SEO and how people value their worth in terms of what they charge for their services and how some of what he is saying about others and their denigrating what we do can impact upon us negatively. Putting to one side all those idiots <a href='http://www.yackyack.co.uk/google/seo-brain-surgery-perhaps-not-but-its-not-so-far-off/'>[...]</a>


Related posts:<ol><li><a href='http://www.yackyack.co.uk/blogging/3-lazy-tips-for-those-who-cant-be-arsed-to-hire-an-seo/' rel='bookmark' title='Permanent Link: 3 lazy tips for those who can&#8217;t be arsed to hire an SEO'>3 lazy tips for those who can&#8217;t be arsed to hire an SEO</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="wp_twitter_button" style="float: right; margin-left: 10px;">
					<a href="http://twitter.com/share?counturl=http%3A%2F%2Fwww.yackyack.co.uk%2Fgoogle%2Fseo-brain-surgery-perhaps-not-but-its-not-so-far-off%2F" class="twitter-share-button" data-url="http://www.yackyack.co.uk/google/seo-brain-surgery-perhaps-not-but-its-not-so-far-off/" data-count="vertical" data-via="robwatts" data-lang="" data-text="">Tweet</a><br />
					<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
				</div>
<p>Reading this blog here from<a href="http://www.oilman.ca/sem/shoemoney-a-fish-bowl-and-bullshit/"> oilman </a>got me thinking about SEO and how people value their worth in terms of what they charge for their services and how some of what he is saying about others and their denigrating what we do can impact upon us negatively.</p>
<p>Putting to one side all those idiots who say they will submit your site to the search engines for a one off fee of $100 solicited by way of some awful looking spam email or adsense ad somewhere. Those tosspots really don&#8217;t help the situation as they help paint a perception that there really is nothing to what people like me do, when the obverse is so blindingly obviously true!</p>
<p><span id="more-34"></span></p>
<p>Some people have great difficulty in charging their clients the right price for what they do. Ive certainly been guilty of it in the past as have lots of others no doubt. If you are one of these people who works alone, then you may well fall into some isolationist camp whereby you dont *really* appreciate what it is you actually know. Add to that mix people like shoemoney saying that <a href="http://www.shoemoney.com/2007/01/10/onpage-seo-is-garbage-clarification-on-rockstars/">95% of SEO is super simple </a>or worse still, others who say stuff like , <a href="http://www.searchenginejournal.com/?p=4068">SEO is Bullshit</a> ( a headline people will grab hold of and use to sneer at you with) and you may find others beginning to question the value of what it is you do. Ok, Ive been a little unfair to Mr Shoe when I say that as he did actually go on to clarify a few of his points, but still I think its fair to say that throw away comments like that, don&#8217;t entirely help in any SEO is a winning strategy, worthy of high dollar investment in quaility people perception game! Detractors seize on such statements and use them to <a href="http://www.clickz.com/showPage.html?page=3624200">dis the entire concept</a>.</p>
<p>See, I know this guy who happens to be a brain surgeon. I knew him at school as a kid, he even credits me as part inspiration for his interest in the human brain, but that&#8217;s a story for another day. He is a clever fecker and studied all sorts of medical stuff for years. He now opens up peoples heads and performs surgery on their brains. Cool huh? Yet talk to him and he&#8217;ll tell you that its all pretty simple stuff really. He won&#8217;t brag or sound off like he&#8217;s some super know all mega-brain, oh no, he&#8217;ll just tell you that what he knows is simply the product of years of reading, observation, long hours of study and practice. But, you just know that to get where is he and be allowed to cut through your head and muck about with your brain holding a sclapel and all, that he&#8217;s pretty pretty clued up on how it all works and what needs to be done to keep you alive and functioning in a non cabbage doll way!</p>
<p>WTF does this have to do with SEO? Please, allow me to continue. I think it might help if I clarify a few of the issues and outline some of the complexitities of whats actually involved in doing the day to day work of SEO. I&#8217;m gonna brainstorm a little and see where I go and see if I can touch on just a few of things involved and state what I think is required in order to do it properly. I might miss a trick or two, so feel free to say your bit at then end. <img src='http://www.yackyack.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>SEO and Search engines </strong></p>
<p>The aim of an SEO will be to get a website into the search engine results pages for their clients target keywords and phrases. The SEO therefore, has to have quite an in-depth understanding of how search engines work, an understanding of <a href="http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&#038;Sect2=HITOFF&#038;d=PALL&#038;p=1&#038;u=%2Fnetahtml%2FPTO%2Fsrchnum.htm&#038;r=1&#038;f=G&#038;l=50&#038;s1=6,285,999.PN.&#038;OS=PN/6,285,999&#038;RS=PN/6,285,999">Page Rank</a>, search bots, crawl rates, indexing, tag weighting, robots.txt files, algorithms. He will also need to keep ahead of the curve by continually monitoring and watching for clues as to changes in <a href="http://www.seobythesea.com/?p=426">how things may be evaluated</a> in the future. He&#8217;ll need to know what players are important, what user-agents they use and how to identify them, he&#8217;ll need an understanding of concepts like trustrank and authority scores, he&#8217;ll need to know how these are attained, sustained and lost. He won&#8217;t need to go and read guidelines on a daily basis, he&#8217;ll just have a good feel for what they are.</p>
<p><strong>SEO&#8217;s as Client Side Scripters</strong></p>
<p>Then there&#8217;s the website or page. He needs to know all about Title tags and H tags and keyword placement, tables and DIV tags why some meta tags are important and others aren&#8217;t, what is a &lt;script&gt; tag when to use noscript, how to use flash, what is a frame, why are they problematic? IOW, he&#8217;ll need to know a bit about HTML. Before he builds his page though he&#8217;ll need to know why KW research is important, he&#8217;ll need to know where to look and how to evaluate using search operators. Oops I forgot to mention CSS, oh and client side scripting too, what is AJAX? What is XML? What are the pluses and minuses of RSS.</p>
<p><strong>SEO&#8217;s as Server Side Scripters</strong></p>
<p>Whilst he is at it he may as well have some knowledge of server side scripting languages like PHP and ASP or CFM what is an include? Why are string manipulators so cool. How do you walk an array? Why is script security so important to your continual rankings etc etc etc.</p>
<p><strong>SEO&#8217;s as Database Administrators</strong></p>
<p>Then there are databases; you know, the things used to power most of the web. They use things like Structured Query Language to output data onto these things called webpages, you know, those things that hold all these keywords and all. If he really wants to help his client, he&#8217;ll need to know how to output his clients stuff, he&#8217;ll need to know about database design and structure, he&#8217;ll need to know how his queries will affect his site. He&#8217;ll need to know about query caching, database management and optimisation.</p>
<p><strong>SEO&#8217;s as Server Admins</strong></p>
<p>He&#8217;ll need to know a little about server loads and web server architecture, its processes and limitations, how a mod_rewrite can eliminate query strings in URI&#8217;s, how to block bad bots, bad IP&#8217;s, and why this is important to his clients aims, he&#8217;ll need to know about logfiles; error_logs and access_logs.</p>
<p><strong>SEO&#8217;s and Metrics</strong></p>
<p>He&#8217;ll need to have a good take on metrics &#8211; he&#8217;ll have a good take on what software&#8217;s are out there and why some maybe better than others. He&#8217;ll need to know why his visitor demographic is important and how he can best leverage that information to tweak and fine tune his efforts.</p>
<p><strong>SEO&#8217;s and Market Pulse</strong></p>
<p>Then there are all the external influences. Things like social metrics, bookmarking, link data, creating buzz and getting links, why is a reciprocal not as good as a one way, what is the difference between a good link and a bad link, what are the sites worth getting into, why are they so?</p>
<p><strong>SEO&#8217;s and PPC </strong></p>
<p>He&#8217;ll need to know how to help his client through quiet periods and algo changes, he&#8217;ll need a knowledge of <a href="http://www.google.com/adwords">PPC</a> and what it is and what it does, how to set up campaigns, what is CPM and CPC? What is click-fraud, how is it detected? He&#8217;ll need a knowledge of MFA&#8217;s and other contextual abuses of his ad-spend, he might have a client who could benefit from Arbitrage or at least the knowledge of how it could affect their bottom line.</p>
<p><strong>SEO&#8217;s and Spam</strong></p>
<p>Then there is that huge topic of webspam and all that entails. What is webspam, what is cloaking , what is hijacking, what is a 301 and a 302 what is a 404 and why do they matter, what is hidden text, <a href="http://www.mattcutts.com/blog/reinclusion-request-howto/">how do you file a reinclusion request</a> what is a nofollow, why did it arise? What&#8217;s a splog? Whats a duplicate content filter, What <strong><em>is</em></strong> the difference between a filter and a penalty?</p>
<p><strong>SEO and Creativity</strong></p>
<p>He&#8217;ll need to be able to adapt quickly and think creatively on his feet. He&#8217;ll be able to tell the diffference between an opportunity and a yoke and use whatever is before him to best maximise his clients chance of success.</p>
<p><strong>SEO&#8217;s and People Networks</strong></p>
<p>And finally, there are the places to look and learn a little more, who are the people worth listening to and who aren&#8217;t and so it could go, on and on and on.</p>
<p>There&#8217;s quite a bit involved in it all, wouldn&#8217;t you say? Is all that lot easy? I don&#8217;t think so. It takes years of reading and trial and error and experience to get anywhere near to that level of knowledge and expertise, feckin years. It never stops either, never stands still, blink and you&#8217;ll miss a shedload.</p>
<p>See, if you are hiring an SEO company or individual then IMO they will need to have <strong>all of the above, and beyond</strong>. Any SEO looking to compete in the search space working for different clients in different market sectors will need to have those tools and knowledge in their armoury. If they don&#8217;t, then sooner or later a competitor will come along who has and just wipe them off of the landscape. SEO is a knowledge based economy.</p>
<p>You see, flying a plane, <strike>splitting an atom</strike>, building a house, riding a bike, baking a cake, learning your times tables are all one trick ponies. Once you know them, thats it, you get on with it. Some tasks or roles are different though, some continually shift and change as new technologies and ways of doing things are thrown at them. SEO fits right into this category.<br />
I too liked what <a href="http://searchengineland.com/061221-070716.php">Danny Sullivan</a> had to say in a defence of SEO in a blog at searchengineland.com</p>
<blockquote><p>Yes, you can invest time to learn these “simple” things. But if you know nothing about them, they can seem like rocket science. Over the years, I’ve talked with plenty of people who weren’t even aware of the basic tip that every page should have a unique, descriptive title tag. They think “title” means the biggest text on the page, not the HTML title tag. Talk of HTML title tags — that IS rocket science to them.</p></blockquote>
<p>Damn right too, we all tend to take what we know for granted, but when we sit down and compare it against the general publics knowledge of it all, then we begin to get a little more perspective.</p>
<p>So, if anyone tells you that SEO is easy, if anyone tells you its just a simple case of putting a meta tag in here there and anywhere, then I suggest you tell them to go and get ranked for something worth ranking for and then come back in 6 months and let you know how they did. Get them to start from scratch mind, none of these pre loaded authority blogs or similar subdomains. <img src='http://www.yackyack.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<script src="http://feeds.feedburner.com/~s/yackyack?i=http://www.yackyack.co.uk/google/seo-brain-surgery-perhaps-not-but-its-not-so-far-off/" type="text/javascript" charset="utf-8"></script>

<p>Related posts:<ol><li><a href='http://www.yackyack.co.uk/blogging/3-lazy-tips-for-those-who-cant-be-arsed-to-hire-an-seo/' rel='bookmark' title='Permanent Link: 3 lazy tips for those who can&#8217;t be arsed to hire an SEO'>3 lazy tips for those who can&#8217;t be arsed to hire an SEO</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.yackyack.co.uk/google/seo-brain-surgery-perhaps-not-but-its-not-so-far-off/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>php</title>
		<link>http://www.yackyack.co.uk/marketing/how-to-build-a-database-driven-website-part-2/</link>
		<comments>http://www.yackyack.co.uk/marketing/how-to-build-a-database-driven-website-part-2/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 21:32:09 +0000</pubDate>
		<dc:creator>robwatts</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://www.yackyack.co.uk/?p=20</guid>
		<description><![CDATA[Tweet In part 1 of how to build a database driven website we looked at creating the database and tables and looked at some simple options for inserting data. In this part we are going to look at connecting to the DB using PHP, creating a simple template as well as discussing a few site <a href='http://www.yackyack.co.uk/marketing/how-to-build-a-database-driven-website-part-2/'>[...]</a>


Related posts:<ol><li><a href='http://www.yackyack.co.uk/blogging/promote-my-website-online-in-2008/' rel='bookmark' title='Permanent Link: Promote my website online in 2008'>Promote my website online in 2008</a></li>
<li><a href='http://www.yackyack.co.uk/google/dont-ever-bank-on-free-traffic-build-on-it/' rel='bookmark' title='Permanent Link: Don&#8217;t  ever bank on free traffic, build on it'>Don&#8217;t  ever bank on free traffic, build on it</a></li>
<li><a href='http://www.yackyack.co.uk/blogging/getting-your-website-off-to-a-flying-start-use-a-blog-kickstart-your-domain/' rel='bookmark' title='Permanent Link: Getting your website off to a flying start &#8211; use a blog, kickstart your domain'>Getting your website off to a flying start &#8211; use a blog, kickstart your domain</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="wp_twitter_button" style="float: right; margin-left: 10px;">
					<a href="http://twitter.com/share?counturl=http%3A%2F%2Fwww.yackyack.co.uk%2Fmarketing%2Fhow-to-build-a-database-driven-website-part-2%2F" class="twitter-share-button" data-url="http://www.yackyack.co.uk/marketing/how-to-build-a-database-driven-website-part-2/" data-count="vertical" data-via="robwatts" data-lang="" data-text="">Tweet</a><br />
					<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
				</div>
<p>In part 1 of <a href="http://www.yackyack.co.uk/2007/01/05/how-to-build-a-data-driven-website-part-1/">how to build a database driven website</a> we looked at creating the database and tables and looked at some simple options for inserting data. In this part we are going to look at connecting to the DB using PHP, creating a simple template as well as discussing a few site architecture issues.</p>
<p>In this part we are going to look at connecting to the DB using PHP, creating<br />
a simple template as well as touching on a few site architecture issues along<br />
the way.</p>
<p>We are going to use a simple PHP connection script to connect to your DB, which<br />
will be saved in a separate file and stored outside of root.The connection script<br />
will contain the username and password for connecting to our database.</p>
<p>It looks like this.</p>
<p><strong>&lt;?</strong></p>
<p><strong>@ $db = mysql_connect(&#8220;localhost&#8221;, &#8220;username&#8221;, &#8220;password&#8221;);</strong></p>
<p><strong>//this line specifies the user and password for the database we intend to access</strong></p>
<p><strong>if (!$db) //if we are unable to connect to the database we tell people {</strong></p>
<p><strong>echo &#8220;Error: Could not connect to database. Please try again later&#8221;;<br />
}</strong></p>
<p><strong> mysql_select_db(&#8220;hotels&#8221;);</strong></p>
<p><strong> ?&gt;</strong></p>
<p>We save the above code in a file and call it conn.php. We can then use a PHP<br />
include or a require at the top of pages that access the database like so.</p>
<p><strong>&lt;?</strong></p>
<p><strong>require &#8220;../conn.php&#8221;;</strong></p>
<p><strong>$country=&#8221;England&#8221;;</strong> //set the country for the database</p>
<p><strong>?&gt;</strong></p>
<p>More on connecting to the database further on, for now, lets briefly look at<br />
a typical page and how we intend to output our content and urls.</p>
<p><strong><font size="5">Page structure and URL formats</font></strong></p>
<p>Our database will be used to determine our url naming conventions. We will use<br />
the place names and hotel names and hotel id&#8217;s to form our linking and navigational<br />
structure.Our database contains a series of places from across a region. For<br />
brevity sake lets assume that our site is specific to England.</p>
<p>England is made up of around 39 specific counties. These counties contain a<br />
number of towns and cities. Our plan is to output hotels specific to each county<br />
and town within.We would aim for a clean url structure so that each section<br />
of our site has a url that is logical to the area it represents, is easy to<br />
read and book mark.</p>
<p>Even though our site is dynamic, we can use a handy little feature of the apache<br />
webserver model to change our urls from ugly difficult to read concepts like.</p>
<p><strong>/filename.php?county=hertfordshire&#038;town=hitchin</strong></p>
<p>By using something called an .htaccess file we can rewrite urls so that the<br />
above can be made to look like this</p>
<p><strong>/hertfordshire-hotels-hitchin.html</strong></p>
<p>The .htaccess entry that enables this might look something like this.</p>
<p><strong>RewriteEngine on</strong></p>
<p><strong>RewriteBase /</strong></p>
<p><strong>RewriteRule (.*)-hotels-(.*)\.html$ /filename.php?county=$1&#038;town=$2 [L]</strong></p>
<p>It uses an apache module called mod_rewrite.</p>
<p>This is very handy indeedy as it allows us to have the clean uniform url file<br />
structure we are seeking to use, enabling naming structures throughout thus.</p>
<p><strong>$county-hotels-$town.html</strong> becomes  <strong>hertfordshire-hotels-hitchin.html</strong></p>
<p><em>* We can add additional lines for additional pages and files specific to whatwe want to achieve.  A link to al the site files will be supplied at the end of the series. </em></p>
<p>A database query for say, hotels in hertfordshire would then use the <strong>$county</strong><br />
variable (referenced as <strong>$1</strong> in the .htaccess file above), and return a list of<br />
towns or hotels for that particular area.</p>
<p><font size="5"><strong>Page Template and contents</strong></font></p>
<p><img alt="hotengsml1.gif" src="http://robwatts.wordpress.com/files/2007/01/hotengsml1.gif" /></p>
<p>Our sample page is going to be very simple. It consists of a logo at the top,<br />
with a main body content area.</p>
<p><em>*Ive omitted <a href="http://www.w3schools.com/html/html_head.asp">&lt;head&gt; </a>content for now. The information that follows concentrates on the content that will appear between the <a href="http://www.w3schools.com/tags/tag_body.asp">&lt;body&gt;</a><a href="http://www.w3schools.com/tags/tag_body.asp">&lt;/body&gt;</a> tags. Full html code will be supplied at the end of the series. </em></p>
<p><strong><font size="5">Header Logo</font></strong></p>
<p>Our header &#8216;logo&#8217; is a styled <a href="http://www.w3schools.com/tags/tag_hn.asp">header or Hn tag </a>which uses a background image to sit<br />
behind the text and gives it the appearance of being an image..</p>
<p>The <a href="http://www.w3schools.com/tags/tag_style.asp">&lt;style&gt;</a> is contained in the &lt;head&gt; of the document and looks<br />
like this.</p>
<p><font color="#666666">&lt;style&gt;</font></p>
<p><font color="#666666">H1 { font-size: 12pt; height: 24px; width: 100%; letter-spacing:<br />
4px; vertical-align: bottom; color: #000066; font-weight: 35; background:0 url(/header.jpg)<br />
no-repeat; float: left}<br />
</font></p>
<p><font color="#666666">&lt;/style&gt;</font></p>
<p><strong>&lt;h1&gt;Hotels and Accommodation in </strong><strong>&lt;?=ucfirst($town);?&gt;</strong><strong>&lt;/h1&gt;</strong></p>
<p><strong><font size="5">Area related images</font></strong></p>
<p>The images are sourced via a flickr plug in using the tag aspect of the flickr<br />
url to order area specific images.</p>
<p><font color="#660000">&lt;script type=&#8221;text/javascript&#8221; xsrc=&#8221;fullflickurl&#038;tag=&lt;?=$town;?&gt;&#8221; mce_src=&#8221;fullflickurl&#038;tag=&lt;?=$town;?&gt;&#8221; &gt;&lt;/script&gt;</font></p>
<p><img alt="flickr.gif" src="http://robwatts.wordpress.com/files/2007/01/flickr.gif" /></p>
<p><strong><font size="5">Contextual adverts<br />
</font></strong><br />
We may as well accrue some residual income. Not everyone will like the hotels<br />
outputted, so if they click on our ads and find what they want its all good,<br />
we win, they win.</p>
<p><strong>&lt;h2&gt;&lt;?=$town;?&gt; Travel Ads &lt;/h2&gt;</strong></p>
<p><font color="#660000">&lt;script type=&#8221;text/javascript&#8221; &gt;Contextual<br />
ad code &lt;/script&gt;</font></p>
<p><img alt="ads.gif" src="http://robwatts.wordpress.com/files/2007/01/ads.gif" /></p>
<p><strong><font size="5">Outputted Hotel</font></strong></p>
<p>We are outputting our hotel to give a brief outline of its key points . We  will<br />
include high level information such as name, price, star ratings, booking url,<br />
full detail url as well as a teaser of its full description.</p>
<p>We achieve this using the following code.</p>
<p>First our query<br />
<strong>&lt;?</strong></p>
<p><strong>$query = &#8220;select * from hotelcontent1, hotelcontent2</strong></p>
<p><strong>where hotelcontent1.custid = hotelcontent2.custid and town</strong></p>
<p><strong>= &#8216;$town&#8217; and county  =&#8217;$county&#8217;  and country = &#8216;$country&#8217; order by custid limit 0, 1 &#8221; ;</strong></p>
<p><strong>$result = mysql_query($query); </strong></p>
<p><strong>?&gt;</strong></p>
<p>Then we want to do some manipulation on the description element of the returned content.</p>
<p><strong>&lt;?</strong></p>
<p><strong>$row=mysql_fetch_array($result);</strong></p>
<p><strong> $desc = stripslashes($row['description']);</strong></p>
<p><strong>$content = $desc;</strong></p>
<p><strong> $text_length =300;</strong></p>
<p><strong>$add=strlen($row[town]);</strong></p>
<p><strong>$text_length=($text_length + $add);</strong></p>
<p><strong>$stricon=($content);</strong></p>
<p><strong>$all_content=strlen(&#8220;$stricon&#8221;);</strong></p>
<p><strong>$standard_content=substr($stricon ,$text_length);</strong></p>
<p><strong>$compare=stristr($standard_content ,&#8221; &#8220;);</strong></p>
<p><strong>$minus_content=strlen(&#8220;$compare&#8221;);</strong></p>
<p><strong>$result_content=$all_content-$minus_content;</strong></p>
<p><strong>$display_content=substr($stricon ,0, $result_content);</strong></p>
<p><strong>$stripped_content=stripslashes($display_content);</strong></p>
<p><strong>$stripped_content=nl2br($stripped_content);</strong></p>
<p><strong>$description=$stripped_content;</strong></p>
<p><strong>?&gt;</strong></p>
<p>Before finally putting it all together and outputting our hotel.</p>
<p><strong>&lt;h2&gt;&lt;?=ucfirst($town);?&gt; Hotel of the Month &lt;/h2&gt;</strong></p>
<p><strong>&lt;?</strong></p>
<p><strong>echo&#8221;&lt;div class=message&gt;&lt;h2&gt;$row[ename]&lt;/h2&gt;&lt;i class=p2&gt;<br />
$row[country] &gt; $row[region] &gt; $row[county]&gt; $row[town] &lt;/i&gt;&lt;br&gt;&lt;table<br />
width=\&#8221;95%\&#8221; CLASS=\&#8221;hoteltables\&#8221;&gt;&lt;thead&gt; &lt;tr&gt;&lt;td<br />
bgcolor=\&#8221;#999999\&#8221;&gt; &lt;b&gt;&lt;font color=\&#8221;#FFFF33\&#8221;&gt;Hotel<br />
in $row[PostalTown] &lt;/font&gt;&lt;/b&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/thead&gt;<br />
&lt;tr&gt;&lt;td&gt; &lt;p class=p2&gt;&lt;img xsrc=\&#8221; /$row[photourl]\&#8221;<br />
height=\&#8221;68\&#8221; width=\&#8221;90\&#8221; alt=\&#8221;$county hotels:$row[ename]\&#8221;<br />
align=left id=thephoto&gt; &lt;strong&gt; $row[ename] &lt;/strong&gt; &#8211; $description<br />
&#8230;&lt;br&gt; &lt;a xhref=\&#8221;/book.php?id=$row[hotelid]\&#8221;&gt;Book&lt;/a&gt;<br />
&lt;a xhref=\&#8221; /more.php?id=$row[hotelid]\&#8221;&gt;More&lt;/a&gt;<br />
&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; &lt;br&gt;&lt;/div&gt;&#8221;;<br />
</strong></p>
<p><strong>?&gt;</strong></p>
<p><img alt="hotel.gif" src="http://robwatts.wordpress.com/files/2007/01/hotel.gif" /></p>
<p><strong><font size="5">Navigational links</font></strong></p>
<p>Links are an important aspect of the sites architecture they are used by humans<br />
and bots to give anchored clues to the content of their target pages. Search<br />
engine bots use these anchors or its better known phrase of anchor text to help<br />
weight documents in their search engine databases.</p>
<p>To output our links we used the following sql.</p>
<p><strong>&lt;?</strong></p>
<p><strong>$query = &#8220;select Distinct county from hotelcontent2 where country = &#8216;$country&#8217;     ORDER BY county&#8221; ;</strong></p>
<p><strong>$result = mysql_query($query);</strong></p>
<p><strong>?&gt;</strong></p>
<p>The query here is very simple, it says give me a set of distinct counties from<br />
the database table named hotelcontent1 where the counties returned are a subset of England. These are then  outputted via a loop producing a series of links for our navigation footer.</p>
<p>The for loop for which makes this possible, might look a little like this.</p>
<p><strong>&lt;h3&gt;Regions of  &lt;?=$country;?&gt;&lt;/h3</strong>&gt;<br />
<strong>&lt;p&gt;</strong></p>
<p><strong>&lt;?</strong></p>
<p><strong>$num_results=mysql_num_rows($result); //number of rows </strong></p>
<p><strong>for ($i=0; $i &lt;$num_results; $i++) { </strong></p>
<p><strong>$row = mysql_fetch_array($result);</strong></p>
<p><strong>$countyname=strtolower($row[county]); //ensure the county name is lower case</strong></p>
<p><strong>echo &#8220;&lt;a xhref=\&#8221;/$countyname-hotels.html\&#8221;&gt;$row[county]<br />
hotels &lt;/a&gt;  &#8220;; </strong></p>
<p><strong> } </strong></p>
<p><strong>?&gt;</strong></p>
<p><strong>&lt;/p&gt; </strong></p>
<p>The above loop outputs something like this in our footer<br />
<img alt="navlinks.gif" src="http://robwatts.wordpress.com/files/2007/01/navlinks.gif" /></p>
<p>We could also produce other links relative to the county we are in. We are in a page that is a subset of Hertfordshire (Hitchin) . Contextually, it makes sense for our users to see what other towns are in Hertfordshire. It also helps our other pages to get indexed by search engines and has the added bonus of making our pages that little bit different for others within in our site.</p>
<p>Lets output the towns relative to our <strong>$county</strong> and <strong>$town</strong> variables referenced from the url for our page about Hitchin hotels in Hertfordshire.</p>
<p><strong>&lt;?</strong></p>
<p><strong>$query = “select Distinct town from hotelcontent2 where county =  ‘$county’ and country =&#8217;$country&#8217; AND town != ‘NULL’ ORDER BY town Limit 0, 20? ;</strong></p>
<p><strong>$result = mysql_query($query);</strong></p>
<p><strong>?&gt;</strong></p>
<p>The query here is very simple, it says give me a set of distinct towns  from<br />
the database table named hotelcontent1 where the town is a subset of a variable<br />
named <strong>$county</strong> (hertfordshire in this  instance) .Which when looped and<br />
outputted   produces a maximum of 20 urls,  or links for our nav footer.</p>
<p>The for loop for which makes this possible, as in the one outlined aboved might look a little like  this.</p>
<p><strong>&lt;h4&gt;Towns within  &lt;?=ucfirst($county);?&gt;&lt;/h4&gt;</strong> <strong><br />
&lt;p&gt; </strong></p>
<p><strong>&lt;?</strong></p>
<p><strong>$num_results=mysql_num_rows($result); //number of rows </strong></p>
<p><strong>for ($i=0; $i &lt;$num_results; $i++) { </strong></p>
<p><strong>$row = mysql_fetch_array($result);</strong></p>
<p><strong>$townname=strtolower($row[town]); //ensure the town name is lower  case</strong></p>
<p><strong>echo “&lt;a xhref=\”/$county-hotels-$townname.html\”&gt;$row[town]<br />
hotels  &lt;/a&gt; “; </strong></p>
<p><strong>} </strong></p>
<p><strong>?&gt;</strong></p>
<p><strong>&lt;/p&gt; </strong></p>
<p>In the next part we will look at building an individual hotel detail page and look at some of the structural elements that will, <em>given a multitude of other factors</em>,   help our pages perform relatively well for our target keywords within the search engines.</p>
<script src="http://feeds.feedburner.com/~s/yackyack?i=http://www.yackyack.co.uk/marketing/how-to-build-a-database-driven-website-part-2/" type="text/javascript" charset="utf-8"></script>

<p>Related posts:<ol><li><a href='http://www.yackyack.co.uk/blogging/promote-my-website-online-in-2008/' rel='bookmark' title='Permanent Link: Promote my website online in 2008'>Promote my website online in 2008</a></li>
<li><a href='http://www.yackyack.co.uk/google/dont-ever-bank-on-free-traffic-build-on-it/' rel='bookmark' title='Permanent Link: Don&#8217;t  ever bank on free traffic, build on it'>Don&#8217;t  ever bank on free traffic, build on it</a></li>
<li><a href='http://www.yackyack.co.uk/blogging/getting-your-website-off-to-a-flying-start-use-a-blog-kickstart-your-domain/' rel='bookmark' title='Permanent Link: Getting your website off to a flying start &#8211; use a blog, kickstart your domain'>Getting your website off to a flying start &#8211; use a blog, kickstart your domain</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.yackyack.co.uk/marketing/how-to-build-a-database-driven-website-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php</title>
		<link>http://www.yackyack.co.uk/marketing/how-to-build-a-data-driven-website-part-1/</link>
		<comments>http://www.yackyack.co.uk/marketing/how-to-build-a-data-driven-website-part-1/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 14:40:27 +0000</pubDate>
		<dc:creator>robwatts</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://www.yackyack.co.uk/?p=18</guid>
		<description><![CDATA[Tweet Building a simple database driven website. This is part one of a multi part yet to be determined &#8216;how to&#8217; aimed at showing you how to build a database driven website. There are squillions out there already of course, but in this one I&#8217;m gonna try and do it a little differently. *disclamer:I&#8217;m not <a href='http://www.yackyack.co.uk/marketing/how-to-build-a-data-driven-website-part-1/'>[...]</a>


Related posts:<ol><li><a href='http://www.yackyack.co.uk/blogging/promote-my-website-online-in-2008/' rel='bookmark' title='Permanent Link: Promote my website online in 2008'>Promote my website online in 2008</a></li>
<li><a href='http://www.yackyack.co.uk/google/dont-ever-bank-on-free-traffic-build-on-it/' rel='bookmark' title='Permanent Link: Don&#8217;t  ever bank on free traffic, build on it'>Don&#8217;t  ever bank on free traffic, build on it</a></li>
<li><a href='http://www.yackyack.co.uk/blogging/getting-your-website-off-to-a-flying-start-use-a-blog-kickstart-your-domain/' rel='bookmark' title='Permanent Link: Getting your website off to a flying start &#8211; use a blog, kickstart your domain'>Getting your website off to a flying start &#8211; use a blog, kickstart your domain</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="wp_twitter_button" style="float: right; margin-left: 10px;">
					<a href="http://twitter.com/share?counturl=http%3A%2F%2Fwww.yackyack.co.uk%2Fmarketing%2Fhow-to-build-a-data-driven-website-part-1%2F" class="twitter-share-button" data-url="http://www.yackyack.co.uk/marketing/how-to-build-a-data-driven-website-part-1/" data-count="vertical" data-via="robwatts" data-lang="" data-text="">Tweet</a><br />
					<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
				</div>
<p><span id="more-18"></span><strong>Building a simple database driven website.</strong></p>
<p>This is part one of a multi part yet to be determined &#8216;how to&#8217; aimed at showing you how to build a database driven   website. There are squillions out there already of course, but in this one I&#8217;m gonna try and do it a little differently.</p>
<p><font size="1" color="red">*disclamer:I&#8217;m not frickin perfect, this is  not intended to be the best resource on the topic there is. I&#8217;m just sharing the benefits of my experience. Take it in that vein and hopefuly you&#8217;ll enjoy!</font><em><font size="1"> </font></em></p>
<p><strong>Ok for this recipe you will need.</strong></p>
<ul>
<li>An idea of what you want to do</li>
<li>Basic knowledge of HTML</li>
<li>PHP enabled webspace</li>
<li>An Apache hosted website</li>
<li>A Mysql Database</li>
<li>PhpMyAdmin</li>
<li>A dataset</li>
<li>Will and determination to get it done</li>
</ul>
<p>Optional extras (desirable but not absolutely necessary)</p>
<ul>
<li>Flashy logo</li>
<li>Cool design</li>
</ul>
<p><strong>An idea of what you want to do</strong></p>
<p>When I built things like this in the past, I had to build from the ground up and learn things as I went. When I first went on the net back in um..1995 I think it was, I recall being vaguelly intrigued thinking, cool, I wonder how they do that.</p>
<p>My 1st ever webpage used the <a href="http://en.wikipedia.org/wiki/Marquee_tag">&lt;marquee&gt;</a> tag! It slid a photo of a Ford Mondeo across the screen!Ha, I had this nutty idea that I was gonna create a raffle or draw of some kind and enthuse everybody to enter some &#8216;win a car&#8217; competition. I never did put it on line but it did get me thinking about how people would find it and that search engines would probably be a tool they&#8217;d use. Here is a funny thought. I once thought that when you entered a search term into a search box, the search engine then went and &#8216;looked&#8217; at all the computers in the world and found pages to give back, ha! I guess I wasn&#8217;t so far off, they kinda do that, only that they&#8217;ve already been out into the web and grabbed the data beforehand.</p>
<p>Ok, enough of my waffle, on to the meat and potatoes.</p>
<p><strong>The project</strong></p>
<p>In this part we will look at discussing the base concept, creating  a database, creating the tables, discussing the data, inserting the data into our database.</p>
<p>Ok, having briefly introduced what this is about in the title of the page. Its time to be a little more specific.We are going to build a hotel brochure website from the ground up. We will discuss the creation of the site from A to Z . From initial site set up through to  getting indexed in the search engines. During this process we will look at issues facing site owners and offer up good examples for avoiding the pitfalls.  We wil look at adding value to affiliate feeds and offer up solutions to the many mistakes and problems that site owners encounter. Some of the areas we will look at will include.</p>
<ul>
<li>Planning issues</li>
<li>Getting started</li>
<li>Obtaining and working with a dataset</li>
<li>Creating a database</li>
<li>Using  Mysql and PHP to output  content</li>
<li>Good site architecture and design</li>
<li>Website script security</li>
<li>Getting indexed in the search engines</li>
<li>Promoting your website</li>
<li>Common pitfalls to avoid</li>
</ul>
<p><strong> Planning issues</strong></p>
<p>Whilst this isn&#8217;t a typical real world project its useful nonetheless to look briefly at what we are looking to do. Any good website serves a purpose, in our case we are going to build a hotel brochure website we are going to assume that none exist already, we are going to act like our pages are the only ones in the world and that search engines and users alike are going to love our content and gobble it all up. Our website will give its users what they need in a simple, easy to use way. It will be easy to navigate, quick to load and on topic to its theme. Ordinarily we would all sit around a table in a huddle and discuss our aims and objectives. We would look at our market, look at our competitors, aim towards building a niche with a long term view of steady user growth by way of new sign ups and traffic. Monetisation would be a key factor too. luckily for us, none of these are pressing issues for this project as its purely educational.</p>
<p><strong>Getting started</strong></p>
<p>Our first stop is to grab a dataset. There are two approaches we could take. We could start from scratch. Go out and canvaas lots of hotels and invite them to join our website by sending them our details, or a quicker supplemental route would be to go to a big provider like Venere or Superhotels, or IAN or even individual big hotel chains like Holiday Inn and sign up for one of their affiliate programs.</p>
<p>Most Ive looked at will provide you the data as a direct download. You can choose which fields you want to use, which areas such as countries or regions, you can also choose which informational data you&#8217;d like to show too. The data can usually be saved to your computer as a text file, delimited, by tab, comma, or any other delimiter of your choosing which can then be uploaded to a database. Some will even provide for the data to be obtained as an sql file which can then be directly ran through an sql interpreter and inputted direct tot he database. In this instance we will be using a Mysql database to store our data, and will be using PhpMyAdmin as the interface for inputting our data.</p>
<p><strong>Create the database</strong></p>
<p>Most hosts will offer you the facility to use a GUI to create the database. Plesk is one popular GUI as is CPanel. There are others too. Sometimes you might have to request your host to create one for you.Most good hosts provide the tools for you to do so.</p>
<p>If push comes to shove you can use php to create one for you using the <strong>mysql_create_db() </strong>function, something like.</p>
<p>&lt;?php<br />
<strong>$query  = &#8220;CREATE DATABASE hotels&#8221;;<br />
$result = mysql_query($query);<br />
</strong>?&gt;</p>
<p>For the purposes of this though, we are going to assume that youve created a database named &#8216;hotels&#8217; and have opened your PhpMyAdmin interface and are ready to create the tables.</p>
<p><strong>Create the tables</strong></p>
<p>In this example Ive chosen to stick with a basic data set and have placed the data into two logically named tables. The first table Ive called &#8216;hotelcontent1&#8242; and the second &#8216;hotelcontent2&#8242;</p>
<p>We will need to create all sorts of fields relative to what the hotel provides. Email address field (<strong>email</strong>), establishment name field (<strong>ename</strong>) , web address field (<strong>www</strong>), price field (<strong>price</strong>) and so on. The code below is the sql that we will use to create our tables.</p>
<pre>CREATE TABLE `hotelcontent1` (

`hotelid` int(9) NOT NULL auto_increment,

`custid` int(9) default NULL,

`<strong>ename</strong>` varchar(50) NOT NULL default '0',

`phone` varchar(60) NOT NULL default '0',

`<strong>www</strong>` varchar(250) NOT NULL default '0',

`<strong>email</strong>` varchar(160) NOT NULL default '0',

`etype` varchar(20) NOT NULL default '0',

`<strong>price</strong>` varchar(10) NOT NULL default '0',

`currency` varchar(10) NOT NULL default '0',

`rating` char(2) NOT NULL default '0',

`numrooms` varchar(4) NOT NULL default '0',

`trainstation` varchar(50) NOT NULL default '0',

`tsdist` varchar(4) NOT NULL default '0',

`airport` varchar(75) NOT NULL default '0',

`adist` char(2) NOT NULL default '0',

`photourl` varchar(250) NOT NULL default '0',

`description` text NOT NULL,

`visa` char(1) NOT NULL default '0',

`mastercard` char(1) NOT NULL default '0',

`diners` char(1) NOT NULL default '0',

`amex` char(1) NOT NULL default '0',

`lifts` char(1) NOT NULL default '0',

`restaurant` char(1) NOT NULL default '0',

`bar` char(1) NOT NULL default '0',

`disabled` char(1) NOT NULL default '0',

`parking` char(1) NOT NULL default '0',

`childrates` char(1) NOT NULL default '0',

`tv` char(1) NOT NULL default '0',

`ensuite` char(1) NOT NULL default '0',

`fax` char(1) NOT NULL default '0',

`computer` char(1) NOT NULL default '0',

`pets` char(1) NOT NULL default '0',

`nonsmoking` char(1) NOT NULL default '0',

`roomservice` char(1) NOT NULL default '0',

`breakfast` char(1) default '0',

`childcare` char(1) NOT NULL default '0',

`attractions` text NOT NULL,

`testimonials` text NOT NULL,

PRIMARY KEY  (`hotelid`),

UNIQUE KEY `hotelid` (`hotelid`)

) TYPE=MyISAM AUTO_INCREMENT=0 ;</pre>
<pre>CREATE TABLE `hotelcontent2` (

`custid` int(9) NOT NULL auto_increment,

`name` varchar(50) default NULL,

`address1` varchar(50) default NULL,

`address2` varchar(50) default NULL,

`town` varchar(100) default NULL,

`county` varchar(100) default '0',

`region` varchar(50) default 'no address recorded',

`postcode` varchar(12) NOT NULL default '0',

`country` varchar(30) NOT NULL default '0',

`custype` char(2) NOT NULL default '0',

`date` date default NULL,

`ipadd` varchar(30) default '000000000',

`username` varchar(100) NOT NULL default 'user',

`password` varchar(28) NOT NULL default 'pass',

`renewal` varchar(20) NOT NULL default '0000-00-00',

PRIMARY KEY  (`custid`),

KEY `town` (`town`),

KEY `county` (`county`),

KEY `region` (`region`),

KEY `country` (`country`)

) TYPE=MyISAM AUTO_INCREMENT=0 ;</pre>
<p><strong>The data</strong></p>
<p>One of the great features that mysql has is that it allows you to insert text files straight in to a table. Provided they are properley formatted, and you specify the correct delimiter used, then it will insert the data into the fields you specify</p>
<p>In this \t or tab delimited example for our &#8216;hotelcontent1&#8242; table, we would upload it using PhpMyAdmins &#8216;import&#8217; feature. We would specify csv as the option and enter \t as the delimiter of choice. A sample row of such data might look a little like this;</p>
<p><strong>A typical line from a tab delimited file</strong></p>
<p><code>"1" "1" "The supergroovynicehotel" "0044(0)*********" "www.supergroovynicehotelofchoice.com"<br />
"info@supergroovynicehotelofchoice.com" "Hotel" "45" "pounds" "3" "32" "Aberdeen"<br />
"5" "Aberdeen" "10" "http://www.supergroovynicehotelofchoice.com/Images/<br />
supergroovynicehotelofchoice.jpg" "The supergroovynicehotelofchoice Hotel is now<br />
under the new management of Rob and Delia Blogs. blah blah blah. " "y" "y" "y" "N" "y" "y" "y" "y" "N" "N" "y" "y" "y" "N" "N" "y" "N" "y" "N" "N"</code></p>
<p>Each &#8220;&#8221; enclosed piece of data and corresponding gap (tab) specifies that its to be treated as a seperate field. Multiple insertions would be picked up by way of a \n or new line within the interpreter.</p>
<p><em>Note: Full sample files will be provided at the end of the piece so don&#8217;t worry too much about where the data is at the moment, it&#8217;ll be there at the end. <img src='http://www.yackyack.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p>An alternative way of getting our data into our database, would be via use of an actual .sql file containing the full insert instructions a typical line within would read something like this;</p>
<p><strong>A typical line from an sql file</strong><br />
<code>INSERT INTO `hotelcontent1` VALUES (1, 1, 'The supergroovynicehotel', '0044(0)**********', 'www.supergroovynicehotelofchoice.com',<br />
'info@supergroovynicehotelofchoice.com', 'Hotel', '45', 'pounds', '3"', '32','Aberdeen', '5',<br />
'Aberdeen', '10','http://www.supergroovynicehotelofchoice.com/<br />
Images/supergroovynicehotelofchoice.jpg', 'The supergroovynicehotelofchoice<br />
Hotel is now under the new management of Rob and Delia Blogs. blah blah blah.', 'y', 'y', 'y', 'N', 'y', 'y', 'y', 'y', 'N', 'N', 'y', 'y', 'y', 'N', 'N', 'y', 'N', 'y', 'N', 'N', '');</code><br />
The outcomes of either method is the same, the route to which all depends on the tools, knowledge and requirements you have to hand.</p>
<p>Some data sets can be very clunky to work with and require all sorts of processing and preparation before use. In the past I&#8217;ve used combinations of excel, odbc, and phpmyadmin locally, to prepare my files for the live database. These have been especially useful where the datasets provided were particularly large or in need of adjustment to fit my purposes.</p>
<p>Ok, so  having stored our sample data in our database and tables, we are a step nearer the  process of retrieving and outputting it to our webpage. <a href="http://www.yackyack.co.uk/2007/01/05/how-to-build-a-database-driven-website-part-2/">In part 2</a> I&#8217;ll be showing you how to connect to the database using PHP choosing a good page template and discussing a few site architecture and design issues.</p>
<script src="http://feeds.feedburner.com/~s/yackyack?i=http://www.yackyack.co.uk/marketing/how-to-build-a-data-driven-website-part-1/" type="text/javascript" charset="utf-8"></script>

<p>Related posts:<ol><li><a href='http://www.yackyack.co.uk/blogging/promote-my-website-online-in-2008/' rel='bookmark' title='Permanent Link: Promote my website online in 2008'>Promote my website online in 2008</a></li>
<li><a href='http://www.yackyack.co.uk/google/dont-ever-bank-on-free-traffic-build-on-it/' rel='bookmark' title='Permanent Link: Don&#8217;t  ever bank on free traffic, build on it'>Don&#8217;t  ever bank on free traffic, build on it</a></li>
<li><a href='http://www.yackyack.co.uk/blogging/getting-your-website-off-to-a-flying-start-use-a-blog-kickstart-your-domain/' rel='bookmark' title='Permanent Link: Getting your website off to a flying start &#8211; use a blog, kickstart your domain'>Getting your website off to a flying start &#8211; use a blog, kickstart your domain</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.yackyack.co.uk/marketing/how-to-build-a-data-driven-website-part-1/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.yackyack.co.uk/category/php/feed/ ) in 0.58734 seconds, on Feb 8th, 2012 at 8:22 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 9:22 am UTC -->
