<?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>tech-stuff &#187; php</title>
	<atom:link href="http://www.uselessco.de/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.uselessco.de</link>
	<description>snipplets and more</description>
	<lastBuildDate>Mon, 22 Feb 2010 10:57:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Automatic generation of html-tables</title>
		<link>http://www.uselessco.de/2009/php/automatic-generation-of-html-tables</link>
		<comments>http://www.uselessco.de/2009/php/automatic-generation-of-html-tables#comments</comments>
		<pubDate>Tue, 17 Nov 2009 14:40:10 +0000</pubDate>
		<dc:creator>ralf</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.uselessco.de/?p=136</guid>
		<description><![CDATA[This class automatically generates html-tables from multi-dimensional arrays. The tables are completly customizable by assigning parameters to the standard-table tags like table, tr, th and td. Download here.]]></description>
			<content:encoded><![CDATA[<p>This class automatically generates html-tables from multi-dimensional arrays. The tables are completly customizable by assigning parameters to the standard-table tags like table, tr, th and td.</p>
<p><a href="http://www.uselessco.de/files/class_TableBuilder.zip">Download here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uselessco.de/2009/php/automatic-generation-of-html-tables/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>simple MySQL class for php</title>
		<link>http://www.uselessco.de/2009/php/simple-mysql-class-for-php</link>
		<comments>http://www.uselessco.de/2009/php/simple-mysql-class-for-php#comments</comments>
		<pubDate>Thu, 30 Jul 2009 17:01:28 +0000</pubDate>
		<dc:creator>ralf</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.uselessco.de/?p=116</guid>
		<description><![CDATA[Doing all this database-stuff in php is really a mess. For that case I started a simple MySQL class. At the moment there is not more than connecting and making simple selects. Will be updated soon. Documentation will (perhaps) follow. Its not that complicated. Download file here.]]></description>
			<content:encoded><![CDATA[<p>Doing all this database-stuff in php is really a mess. For that case I started a simple MySQL class. At the moment there is not more than connecting and making simple selects. Will be updated soon.</p>
<p>Documentation will (perhaps) follow. Its not that complicated. <img src='http://www.uselessco.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://www.uselessco.de/files/class_simpleDB.zip">Download file here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.uselessco.de/2009/php/simple-mysql-class-for-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>quick import constructor</title>
		<link>http://www.uselessco.de/2009/php/quick-import-constructor</link>
		<comments>http://www.uselessco.de/2009/php/quick-import-constructor#comments</comments>
		<pubDate>Tue, 12 May 2009 15:29:28 +0000</pubDate>
		<dc:creator>ralf</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[oop]]></category>

		<guid isPermaLink="false">http://www.killerspielserver.de/blog/?p=5</guid>
		<description><![CDATA[This snipplet shows how to automatic import parameters into a class, restricted to the variables defined in the head of the class. class Demo &#123; var $a, $b, $c &#160; function Demo&#40;$data&#41; &#123; while&#40;list&#40;$key,$value&#41;=each&#40;$data&#41;&#41;&#123; if&#40;isset&#40;$this-&#62;$key&#41;&#41;&#123; $this-&#62;$key = $value; &#125; &#125; &#125; &#125;]]></description>
			<content:encoded><![CDATA[<p>This snipplet shows how to automatic import parameters into a class, restricted to the variables defined in the head of the class.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> Demo
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #000088;">$a</span><span style="color: #339933;">,</span> <span style="color: #000088;">$b</span><span style="color: #339933;">,</span> <span style="color: #000088;">$c</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">function</span> Demo<span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">list</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$key</span><span style="color: #339933;">,</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">=</span><span style="color: #990000;">each</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #000088;">$key</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$value</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.uselessco.de/2009/php/quick-import-constructor/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
