<?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>8&#254; Kabutoshimen &#187; bug fix</title>
	<atom:link href="http://kesshi.com/tag/bug-fix/feed/" rel="self" type="application/rss+xml" />
	<link>http://kesshi.com</link>
	<description>Mats Hjelm&#039;s Bujinkan Web Site</description>
	<lastBuildDate>Thu, 10 Nov 2011 12:27:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bug fix on the seminar apps</title>
		<link>http://kesshi.com/2008/12/bug-fix-on-the-seminar-apps/</link>
		<comments>http://kesshi.com/2008/12/bug-fix-on-the-seminar-apps/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 11:05:11 +0000</pubDate>
		<dc:creator>kabuto</dc:creator>
				<category><![CDATA[bujinkan.me]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Kaigozan seminars]]></category>
		<category><![CDATA[Seminar]]></category>
		<category><![CDATA[training hints]]></category>
		<category><![CDATA[webmaster]]></category>
		<category><![CDATA[bug fix]]></category>
		<category><![CDATA[seminars]]></category>
		<category><![CDATA[Web site]]></category>

		<guid isPermaLink="false">http://bujinkan.me/blogs/?p=361</guid>
		<description><![CDATA[Every December the Next month seminars would show the whole past year. It was a scripting bug that I have fixed now. Since it is december next month it should default to January and forwards, but there is also a tab with Next years seminars so instead I added a message that it is the [...]]]></description>
			<content:encoded><![CDATA[<p>Every December the <em>Next month seminars</em> would show the whole past year. It was a scripting bug that I have fixed now. Since it is december next month it should default to January and forwards, but there is also a tab with <em>Next years seminars</em> so instead I added a message that it is the end of this year and look at next year for future seminars.</p>
<p>Here is the PHP code if you want include it on your web site.</p>
<p><span style="font-size: 7pt;color: #33a">&lt;?php<br />
$nextmonth = mktime(0, 0, 0, date("m")+1);<br />
$monta = date("m", $nextmonth);<br />
if ( $monta == "01" )<br />
{ $yerra = date("Y")+1 ;<br />
echo "&lt;p&gt;It is probably December now, click on Seminars next year&lt;/p&gt;";<br />
}<br />
else<br />
{ $yerra = date("Y") ;<br />
$ch = curl_init("http://www.kesshi.com/cgi-bin/SEMINARS-ME2.cgi?$yerra-$monta");<br />
curl_setopt($ch, CURLOPT_HEADER, 0);<br />
curl_exec($ch);<br />
curl_close($ch);<br />
}<br />
?&gt;</span></p>
<p>If you want more examples how to display seminars from the database on your web site, please don't hesitate to contact me.<br />
I really do encourage all web masters to use any code they want (mine or modified) to display seminars from the seminar database.</p>
<p><a href="http://www.amazon.com/PHP-Conference-2003-Zeev-Suraski/dp/B0001FZB7Q%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0001FZB7Q"><img src="http://ecx.images-amazon.com/images/I/41Z6BPM6B8L._SL75_.jpg" alt="" /></a> <a href="http://www.amazon.com/PHP-MySQL-Dynamic-Web-Sites/dp/032152599X%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D032152599X"><img src="http://ecx.images-amazon.com/images/I/218c4kzUJHL._SL75_.jpg" alt="" /></a> <a href="http://www.amazon.com/Drupal-Development-Second-Beginning-Professional/dp/1430209895%3FSubscriptionId%3D02E5W5871AJF7PMMMS82%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D1430209895"><img src="http://ecx.images-amazon.com/images/I/51A2jHqTPIL._SL75_.jpg" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://kesshi.com/2008/12/bug-fix-on-the-seminar-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

