<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Converting arrays to human readable tables</title>
	<atom:link href="http://aidanlister.com/2004/04/converting-arrays-to-human-readable-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidanlister.com/2004/04/converting-arrays-to-human-readable-tables/</link>
	<description>Code is poetry</description>
	<lastBuildDate>Tue, 09 Mar 2010 10:53:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Adrian</title>
		<link>http://aidanlister.com/2004/04/converting-arrays-to-human-readable-tables/comment-page-1/#comment-390</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Tue, 21 Jun 2005 19:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=59#comment-390</guid>
		<description>Hello and thanks for the great work.
I made a patch that shows the datatype of the array-element as a tooltip. Just replace the else-part after &quot;if($recursive==true...&quot; with:

&lt;?php
$tooltip = &quot;gettype(): &quot;.strtoupper(gettype($cell));
$table .= &#039;&lt;span title=&quot;&#039;.$tooltip.&#039;&quot;&gt;&#039;.( (strlen($cell) &gt; 0) ?
htmlspecialchars((string) $cell) : $null) .&#039;&lt;/span&gt;&#039;;
?&gt;

regards,
adrian</description>
		<content:encoded><![CDATA[<p>Hello and thanks for the great work.<br />
I made a patch that shows the datatype of the array-element as a tooltip. Just replace the else-part after &#8220;if($recursive==true&#8230;&#8221; with:</p>
<p>&lt;?php<br />
$tooltip = &#8220;gettype(): &#8220;.strtoupper(gettype($cell));<br />
$table .= &#8216;&lt;span title=&#8221;&#8216;.$tooltip.&#8217;&#8221;&gt;&#8217;.( (strlen($cell) &gt; 0) ?<br />
htmlspecialchars((string) $cell) : $null) .&#8217;&lt;/span&gt;&#8217;;<br />
?&gt;</p>
<p>regards,<br />
adrian</p>
]]></content:encoded>
	</item>
</channel>
</rss>
