<?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>Evidia Ltd &#187; Website Design and Development</title>
	<atom:link href="http://www.evidia.com/blog/?feed=rss2&#038;cat=4" rel="self" type="application/rss+xml" />
	<link>http://www.evidia.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 12 Jun 2010 15:56:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dump Post Variables in PHP</title>
		<link>http://www.evidia.com/blog/?p=9</link>
		<comments>http://www.evidia.com/blog/?p=9#comments</comments>
		<pubDate>Mon, 14 Jul 2008 20:50:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=9</guid>
		<description><![CDATA[Nice way to dump out the names and values of the variables coming from a posted form:
foreach ( $_POST as $key =&#62; $value ) {
 echo $key . &#8221; &#8221; . &#8220;=&#8221; . &#8221; &#8221; . $value;
 echo  &#8221;&#60;BR&#62;&#8221;;
}
]]></description>
			<content:encoded><![CDATA[<p>Nice way to dump out the names and values of the variables coming from a posted form:</p>
<p>foreach ( $_POST as $key =&gt; $value ) {<br />
 echo $key . &#8221; &#8221; . &#8220;=&#8221; . &#8221; &#8221; . $value;<br />
 echo  &#8221;&lt;BR&gt;&#8221;;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting the current date into variables</title>
		<link>http://www.evidia.com/blog/?p=8</link>
		<comments>http://www.evidia.com/blog/?p=8#comments</comments>
		<pubDate>Tue, 08 Jul 2008 18:26:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=8</guid>
		<description><![CDATA[Get the parts of the current date into workable variables&#8230;.
 
        $cday = date(&#8216;d&#8217;,time());
        $cmonth = date(&#8216;m&#8217;,time());
        $cyear = date(&#8216;Y&#8217;,time());
]]></description>
			<content:encoded><![CDATA[<p>Get the parts of the current date into workable variables&#8230;.</p>
<p> </p>
<p>        $cday = date(&#8216;d&#8217;,time());<br />
        $cmonth = date(&#8216;m&#8217;,time());<br />
        $cyear = date(&#8216;Y&#8217;,time());</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&amp;p=8</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping your copyright years current</title>
		<link>http://www.evidia.com/blog/?p=6</link>
		<comments>http://www.evidia.com/blog/?p=6#comments</comments>
		<pubDate>Tue, 08 Jul 2008 16:43:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Design and Development]]></category>
		<category><![CDATA[javascript copyright year generator]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=6</guid>
		<description><![CDATA[A small way to at least keep your pages looking current&#8230;and keep your copyright protection going&#8230;
&#60;SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&#62;
&#60;!&#8211;  today=new Date();
    y0=today.getFullYear();
    document.write(y0);
  // end hiding &#8212;&#62;
&#60;/SCRIPT&#62;   
Just stick this after a start year, and you are off to the races!
]]></description>
			<content:encoded><![CDATA[<p>A small way to at least keep your pages looking current&#8230;and keep your copyright protection going&#8230;</p>
<p style="text-align: left;">&lt;SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&gt;<br />
&lt;!&#8211;  today=new Date();<br />
    y0=today.getFullYear();<br />
    document.write(y0);<br />
  // end hiding &#8212;&gt;<br />
&lt;/SCRIPT&gt;   </p>
<p style="text-align: left;">Just stick this after a start year, and you are off to the races!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&amp;p=6</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking for failed database search</title>
		<link>http://www.evidia.com/blog/?p=5</link>
		<comments>http://www.evidia.com/blog/?p=5#comments</comments>
		<pubDate>Sun, 06 Jul 2008 00:40:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql result check]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=5</guid>
		<description><![CDATA[One way of detecting of a select statement returned any results.  Using this currently&#8230;
  $result = mysql_query(&#8220;SELECT * FROM some_table where some_field = &#8217;some_value&#8217; &#8220;, $connection);
  if (!$result) 
    $count=0;
  else
    $count =mysql_num_rows($result);
  if ($count == 0) {
   die(&#8220;Database query failed: &#8221; . mysql_error());
]]></description>
			<content:encoded><![CDATA[<p>One way of detecting of a select statement returned any results.  Using this currently&#8230;</p>
<p>  $result = mysql_query(&#8220;SELECT * FROM some_table where some_field = &#8217;some_value&#8217; &#8220;, $connection);</p>
<p>  if (!$result) <br />
    $count=0;<br />
  else<br />
    $count =mysql_num_rows($result);</p>
<p>  if ($count == 0) {<br />
   die(&#8220;Database query failed: &#8221; . mysql_error());</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
