<?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>Matt Thiessen &#187; PHP</title>
	<atom:link href="http://matt.thiessen.us/category/coding/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://matt.thiessen.us</link>
	<description>Learning to make the hard things easy</description>
	<lastBuildDate>Sun, 05 Feb 2012 04:06:14 +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>WP-o-Matic breaks WordPress Related Links</title>
		<link>http://matt.thiessen.us/2011/11/wp-o-matic-breaks-wordpress-related-links/</link>
		<comments>http://matt.thiessen.us/2011/11/wp-o-matic-breaks-wordpress-related-links/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 15:27:09 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp-o-matic]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=491</guid>
		<description><![CDATA[function adminInit() { auth_redirect(); // force display of a certain section $this-&#62;section = ($this-&#62;setup) ? ((isset($_REQUEST['s']) &#38;&#38; $_REQUEST['s']) ? $_REQUEST['s'] : $this-&#62;sections[0]) : 'setup'; // if (isset($_SERVER['HTTP_USER_AGENT']) &#38;&#38; (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) // die('Please switch to Firefox / Safari'); wp_enqueue_script('prototype'); wp_enqueue_script('wpoadmin', $this-&#62;tplpath . '/admin.js', array('prototype'), $this-&#62;version); if ($this-&#62;section == 'list') wp_enqueue_script('listman'); //if ( WPOTools::isAjax() ) [...]]]></description>
			<content:encoded><![CDATA[<p><code>function adminInit() {<br />
		auth_redirect();</p>
<p>		// force display of a certain section<br />
		$this-&gt;section = ($this-&gt;setup) ? ((isset($_REQUEST['s']) &amp;&amp; $_REQUEST['s']) ? $_REQUEST['s'] : $this-&gt;sections[0]) : 'setup';</p>
<p>//    if (isset($_SERVER['HTTP_USER_AGENT']) &amp;&amp; (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))<br />
//      die('Please switch to Firefox / Safari');</p>
<p>		wp_enqueue_script('prototype');<br />
		wp_enqueue_script('wpoadmin', $this-&gt;tplpath . '/admin.js', array('prototype'), $this-&gt;version);</p>
<p>		if ($this-&gt;section == 'list')<br />
			wp_enqueue_script('listman');</p>
<p>		//if ( WPOTools::isAjax() ) {<br />
		if ( WPOTools::isAjax() &amp;&amp;  $this-&gt;section != 'home' ) { // Matt Thiessen 11/8/11<br />
			$this-&gt;admin();<br />
			exit;<br />
		}<br />
	}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2011/11/wp-o-matic-breaks-wordpress-related-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SlidePress Plugin Redirect Bug</title>
		<link>http://matt.thiessen.us/2010/11/slidepress-plugin-redirect-bug/</link>
		<comments>http://matt.thiessen.us/2010/11/slidepress-plugin-redirect-bug/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 14:24:46 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[capabilities]]></category>
		<category><![CDATA[meta_key]]></category>
		<category><![CDATA[meta_value]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[SlidePress]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=411</guid>
		<description><![CDATA[When clicking on settings links for the SlidePress plugin in a multi-user WordPress site the plugin would redirect to /wp-admin/?c=1 for each domain except the parent site. [code lang="php"]function get_current_user_role() { global $current_user, $wp_roles; $role_names = $wp_roles -&#62; get_names(); /* UPDATED 11/2/2010 9:21 AM * by matt.thiessen@sourcemedia.net */ // modified [start] reset($current_user-&#62;roles); $first_key = key($current_user-&#62;roles); [...]]]></description>
			<content:encoded><![CDATA[<p>When clicking on settings links for the SlidePress plugin in a multi-user WordPress site the plugin would redirect to /wp-admin/?c=1 for each domain except the parent site.</p>
<p>[code lang="php"]function get_current_user_role() {<br />
global $current_user, $wp_roles;<br />
$role_names = $wp_roles -&gt; get_names();<br />
/* UPDATED 11/2/2010 9:21 AM<br />
* by matt.thiessen@sourcemedia.net<br />
*/<br />
// modified [start]<br />
reset($current_user-&gt;roles);<br />
$first_key = key($current_user-&gt;roles);<br />
return preg_replace( "/\|.*/", '', $role_names[$current_user-&gt;roles[$first_key]]);<br />
/*old*///return preg_replace( "/\|.*/", '', $role_names[$current_user-&gt;roles[0]]);<br />
// modified [end]<br />
}[\code]</p>
<p>Also, make sure if you are an admin user with super user privileges you are added at a admin user to the site you are using the SlidePress plugin.</p>
<p><a href="http://matt.thiessen.us/wp-content/uploads/2010/11/add-a-new-user.png"><img class="alignleft size-full wp-image-416" title="add-a-new-user" src="http://matt.thiessen.us/wp-content/uploads/2010/11/add-a-new-user.png" alt="" width="394" height="240" /></a></p>
<p>This will add proper capabilities to the database in the wp_usermeta table.<br />
meta_key: wp_25_capabilities<br />
meta_value: a:1:{s:13:"administrator";s:1:"1";}</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2010/11/slidepress-plugin-redirect-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>is_home() not working in my WordPress plugin</title>
		<link>http://matt.thiessen.us/2009/08/is_home-not-working-in-my-wordpress-plugin/</link>
		<comments>http://matt.thiessen.us/2009/08/is_home-not-working-in-my-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 18:05:46 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=282</guid>
		<description><![CDATA[When using is_home(), is_category(), is_page() etc. in my WordPress plugin that displays category-based ads, they kept returning NULL. My problem was that I was calling this these function directly in my plugin. I resolved this by adding these call to my adHeaderSetup() function and setting the hook add_action(&#8216;wp_head&#8217;, &#8216;adHeaderSetup&#8217;);]]></description>
			<content:encoded><![CDATA[<p>When using is_home(), is_category(), is_page() etc. in my WordPress plugin that displays category-based ads, they kept returning NULL.</p>
<p>My problem was that I was calling this these function directly in my plugin.  I resolved this by adding these call to my adHeaderSetup() function and setting the hook add_action(&#8216;wp_head&#8217;, &#8216;adHeaderSetup&#8217;);</p>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/08/is_home-not-working-in-my-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USPS Web Tools</title>
		<link>http://matt.thiessen.us/2009/03/usps-web-tools/</link>
		<comments>http://matt.thiessen.us/2009/03/usps-web-tools/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 22:06:11 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Family]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Z350]]></category>
		<category><![CDATA[shipping]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=211</guid>
		<description><![CDATA[I was trying to add the USPS API into osCommerce. I received the following error when adding this shipping module: RateV3 is not a valid API name for this protocol This is because when you create an account for the Web Tools at USPS you only have access to their test server. The USPS test [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to add the <a href="http://www.usps.com/webtools/" target="_blank">USPS API</a> into <a href="http://www.oscommerce.com/" target="_blank">osCommerce</a>.  I received the following error when adding this <a href="http://www.oscommerce.com/community/contributions,487">shipping module</a>:</p>
<p><strong style="color:red">RateV3 is not a valid API name for this protocol</strong></p>
<p>This is because when you create an account for the Web Tools at USPS you only have access to their test server.  The USPS test server can only use RateV2, so test using this code below, then request to be switched to use the production server.  Then you can use RateV3 on the production server and the USPS module for osCommerce will work.</p>
<pre class="wp-code-highlight prettyprint">&lt;?php

$request1 = &lt;&lt;&lt; XMLREQUEST
&lt;RateV2Request USERID=&quot;xxxxxxxxxxxxx&quot;&gt;
&lt;Package ID=&quot;0&quot;&gt;
&lt;Service&gt;PRIORITY&lt;/Service&gt;
&lt;ZipOrigination&gt;10022&lt;/ZipOrigination&gt;
&lt;ZipDestination&gt;20008&lt;/ZipDestination&gt;
&lt;Pounds&gt;10&lt;/Pounds&gt;
&lt;Ounces&gt;5&lt;/Ounces&gt;
&lt;Container&gt;Flat Rate Box&lt;/Container&gt;
&lt;Size&gt;REGULAR&lt;/Size&gt;
&lt;/Package&gt;
&lt;/RateV2Request&gt;
XMLREQUEST;

$request = &quot;http://testing.shippingapis.com/ShippingAPITest.dll?API=RateV2&amp;XML=&quot; . rawurlencode($request1);

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $request);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_HTTPGET, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SLL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

$response = curl_exec($ch);
curl_close($ch);

echo($response);

?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/03/usps-web-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying Child Page Links in A Template</title>
		<link>http://matt.thiessen.us/2009/02/displaying-child-page-links-in-your-template/</link>
		<comments>http://matt.thiessen.us/2009/02/displaying-child-page-links-in-your-template/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 00:30:06 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=165</guid>
		<description><![CDATA[&#60;?php /* Template Name: Child Page List */ ?&#62;&#60;?php get_header(); ?&#62; &#60;div class=&#34;narrow_column&#34;&#62; &#60;?php if(have_posts()) : ?&#62;&#60;?php while(have_posts()) : the_post(); ?&#62; &#60;div class=&#34;post&#34; id=&#34;post-&#60;?php the_ID(); ?&#62;&#34;&#62; &#60;h2&#62;&#60;a href=&#34;&#60;?php the_permalink(); ?&#62;&#34; rel=&#34;bookmark&#34;&#62;&#60;?php the_title(); ?&#62;&#60;/a&#62;&#60;/h2&#62; &#60;div class=&#34;entry&#34;&#62; &#60;?php the_content(); ?&#62; &#60;?php $children = wp_list_pages('title_li=&#38;child_of=' . $post-&#62;ID . '&#38;echo=0'); if ($children) { ?&#62; &#60;ul&#62; &#60;?php echo( $children ); [...]]]></description>
			<content:encoded><![CDATA[<pre class="wp-code-highlight prettyprint">
&lt;?php /*
	Template Name: Child Page List
*/ ?&gt;&lt;?php get_header(); ?&gt;

			&lt;div class=&quot;narrow_column&quot;&gt;

&lt;?php if(have_posts()) : ?&gt;&lt;?php while(have_posts()) : the_post(); ?&gt;
&lt;div class=&quot;post&quot; id=&quot;post-&lt;?php the_ID(); ?&gt;&quot;&gt;

	&lt;h2&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
	&lt;div class=&quot;entry&quot;&gt;

		&lt;?php the_content(); ?&gt;

		&lt;?php $children = wp_list_pages('title_li=&amp;child_of=' . $post-&gt;ID . '&amp;echo=0');
			if ($children) { ?&gt;

&lt;ul&gt;
  &lt;?php  echo( $children ); ?&gt;
&lt;/ul&gt;
&lt;?php } ?&gt;
		&lt;?php edit_post_link('Edit', '&lt;p&gt;', '&lt;/p&gt;'); ?&gt;

		&lt;!--
		&lt;?php trackback_rdf(); ?&gt;
		--&gt;

		&lt;div class=&quot;comments-template&quot;&gt;&lt;?php comments_template(); ?&gt;&lt;/div&gt;

	&lt;/div&gt;&lt;!-- end entry --&gt;

&lt;/div&gt;&lt;!-- end post --&gt;
&lt;?php endwhile; ?&gt;

&lt;?php include (TEMPLATEPATH . '/browse.php'); ?&gt;

&lt;?php else : ?&gt;

&lt;div class=&quot;post&quot;&gt;

	&lt;h2&gt;&lt;?php _e('Not Found'); ?&gt;&lt;/h2&gt;
	&lt;div class=&quot;entry&quot;&gt;
&lt;p class=&quot;notfound&quot;&gt;&lt;?php _e('Sorry, but you are looking for something that isn&amp;#39;t here.'); ?&gt;&lt;/p&gt;
	&lt;/div&gt;

&lt;/div&gt;

&lt;?php endif; ?&gt;

			&lt;/div&gt;&lt;!-- end narrow column --&gt;

&lt;?php get_footer(); ?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2009/02/displaying-child-page-links-in-your-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php turns SQL to Excel</title>
		<link>http://matt.thiessen.us/2008/12/php-turns-sql-to-excel/</link>
		<comments>http://matt.thiessen.us/2008/12/php-turns-sql-to-excel/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 17:16:11 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php excel SQL]]></category>

		<guid isPermaLink="false">http://matt.thiessen.us/?p=27</guid>
		<description><![CDATA[Thanks StarGeek for this code. this php script will write data from php using text from an SQL table (MySQL, supply your own SQL query) to a microsoft excel (.xls) file. The Excel file is specified as such by a set of headers, defining content, using php&#8217;s header() function. &#60;?php //Written by Dan Zarrella. Some [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Thanks <a href="http://www.stargeek.com/scripts.php?script=2">StarGeek</a> for this code.</p>
<p>this php script will write data from php using text from an SQL table (MySQL, supply your own SQL query) to a microsoft excel (.xls) file. The Excel file is specified as such by a set of headers, defining content, using php&#8217;s header() function.</p></div>
<div class="source">
<p><span style="color: #000000;"><span style="color: #0000bb;">&lt;?php<br />
</span><span style="color: #ff8000;">//Written by Dan Zarrella. Some additional tweaks provided by JP Honeywell<br />
//pear excel package has support for fonts and formulas etc.. more complicated<br />
//this is good for quick table dumps (deliverables)</span></span></p>
<p><span style="color: #000000;"><span style="color: #007700;">include(</span><span style="color: #dd0000;">&#8216;DB_connection.php&#8217;</span><span style="color: #007700;">);<br />
</span><span style="color: #0000bb;">$result </span><span style="color: #007700;">= </span><span style="color: #0000bb;">mysql_query</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8216;select * from excel_test&#8217;</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$linkID</span><span style="color: #007700;">);<br />
</span><span style="color: #0000bb;">$count </span><span style="color: #007700;">= </span><span style="color: #0000bb;">mysql_num_fields</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$result</span><span style="color: #007700;">);</span></span></p>
<p><span style="color: #000000;"><span style="color: #007700;">for (</span><span style="color: #0000bb;">$i </span><span style="color: #007700;">= </span><span style="color: #0000bb;">0</span><span style="color: #007700;">; </span><span style="color: #0000bb;">$i </span><span style="color: #007700;">&lt; </span><span style="color: #0000bb;">$count</span><span style="color: #007700;">; </span><span style="color: #0000bb;">$i</span><span style="color: #007700;">++){<br />
</span><span style="color: #0000bb;">$header </span><span style="color: #007700;">.= </span><span style="color: #0000bb;">mysql_field_name</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$result</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$i</span><span style="color: #007700;">).</span><span style="color: #dd0000;">&#8220;t&#8221;</span><span style="color: #007700;">;<br />
}</span></span></p>
<p><span style="color: #000000;"><span style="color: #007700;">while(</span><span style="color: #0000bb;">$row </span><span style="color: #007700;">= </span><span style="color: #0000bb;">mysql_fetch_row</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$result</span><span style="color: #007700;">)){<br />
</span><span style="color: #0000bb;">$line </span><span style="color: #007700;">= </span><span style="color: #dd0000;">&#8221;</span><span style="color: #007700;">;<br />
foreach(</span><span style="color: #0000bb;">$row </span><span style="color: #007700;">as </span><span style="color: #0000bb;">$value</span><span style="color: #007700;">){<br />
if(!isset(</span><span style="color: #0000bb;">$value</span><span style="color: #007700;">) || </span><span style="color: #0000bb;">$value </span><span style="color: #007700;">== </span><span style="color: #dd0000;">&#8220;&#8221;</span><span style="color: #007700;">){<br />
</span><span style="color: #0000bb;">$value </span><span style="color: #007700;">= </span><span style="color: #dd0000;">&#8220;t&#8221;</span><span style="color: #007700;">;<br />
}else{<br />
</span><span style="color: #ff8000;"># important to escape any quotes to preserve them in the data.<br />
</span><span style="color: #0000bb;">$value </span><span style="color: #007700;">= </span><span style="color: #0000bb;">str_replace</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8216;&#8221;&#8216;</span><span style="color: #007700;">, </span><span style="color: #dd0000;">&#8216;&#8221;"&#8216;</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$value</span><span style="color: #007700;">);<br />
</span><span style="color: #ff8000;"># needed to encapsulate data in quotes because some data might be multi line.<br />
# the good news is that numbers remain numbers in Excel even though quoted.<br />
</span><span style="color: #0000bb;">$value </span><span style="color: #007700;">= </span><span style="color: #dd0000;">&#8216;&#8221;&#8216; </span><span style="color: #007700;">. </span><span style="color: #0000bb;">$value </span><span style="color: #007700;">. </span><span style="color: #dd0000;">&#8216;&#8221;&#8216; </span><span style="color: #007700;">. </span><span style="color: #dd0000;">&#8220;t&#8221;</span><span style="color: #007700;">;<br />
}<br />
</span><span style="color: #0000bb;">$line </span><span style="color: #007700;">.= </span><span style="color: #0000bb;">$value</span><span style="color: #007700;">;<br />
}<br />
</span><span style="color: #0000bb;">$data </span><span style="color: #007700;">.= </span><span style="color: #0000bb;">trim</span><span style="color: #007700;">(</span><span style="color: #0000bb;">$line</span><span style="color: #007700;">).</span><span style="color: #dd0000;">&#8220;n&#8221;</span><span style="color: #007700;">;<br />
}<br />
</span><span style="color: #ff8000;"># this line is needed because returns embedded in the data have &#8220;r&#8221;<br />
# and this looks like a &#8220;box character&#8221; in Excel<br />
</span><span style="color: #0000bb;">$data </span><span style="color: #007700;">= </span><span style="color: #0000bb;">str_replace</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8220;r&#8221;</span><span style="color: #007700;">, </span><span style="color: #dd0000;">&#8220;&#8221;</span><span style="color: #007700;">, </span><span style="color: #0000bb;">$data</span><span style="color: #007700;">);</span></span></p>
<p><span style="color: #000000;"><span style="color: #ff8000;"># Nice to let someone know that the search came up empty.<br />
# Otherwise only the column name headers will be output to Excel.<br />
</span><span style="color: #007700;">if (</span><span style="color: #0000bb;">$data </span><span style="color: #007700;">== </span><span style="color: #dd0000;">&#8220;&#8221;</span><span style="color: #007700;">) {<br />
</span><span style="color: #0000bb;">$data </span><span style="color: #007700;">= </span><span style="color: #dd0000;">&#8220;nno matching records foundn&#8221;</span><span style="color: #007700;">;<br />
}</span></span></p>
<p><span style="color: #000000;"><span style="color: #ff8000;"># This line will stream the file to the user rather than spray it across the screen<br />
</span><span style="color: #0000bb;">header</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8220;Content-type: application/octet-stream&#8221;</span><span style="color: #007700;">);</span></span></p>
<p><span style="color: #000000;"><span style="color: #ff8000;"># replace excelfile.xls with whatever you want the filename to default to<br />
</span><span style="color: #0000bb;">header</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8220;Content-Disposition: attachment; filename=excelfile.xls&#8221;</span><span style="color: #007700;">);<br />
</span><span style="color: #0000bb;">header</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8220;Pragma: no-cache&#8221;</span><span style="color: #007700;">);<br />
</span><span style="color: #0000bb;">header</span><span style="color: #007700;">(</span><span style="color: #dd0000;">&#8220;Expires: 0&#8243;</span><span style="color: #007700;">);</span></span></p>
<p><span style="color: #000000;"><span style="color: #007700;">echo </span><span style="color: #0000bb;">$header</span><span style="color: #007700;">.</span><span style="color: #dd0000;">&#8220;n&#8221;</span><span style="color: #007700;">.</span><span style="color: #0000bb;">$data</span><span style="color: #007700;">;<br />
</span><span style="color: #0000bb;">?&gt;</span></span></div>
]]></content:encoded>
			<wfw:commentRss>http://matt.thiessen.us/2008/12/php-turns-sql-to-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

