<?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: I need help with a php / mysql thing</title>
	<atom:link href="http://critterscode.com/2008/01/11/i-need-help-with-a-php-mysql-thing/feed/" rel="self" type="application/rss+xml" />
	<link>http://critterscode.com/2008/01/11/i-need-help-with-a-php-mysql-thing/</link>
	<description>This is a picture of a bridge and a city. I like bridges and cities. They make me smile.</description>
	<lastBuildDate>Fri, 05 Mar 2010 12:25:42 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Douglas Karr</title>
		<link>http://critterscode.com/2008/01/11/i-need-help-with-a-php-mysql-thing/comment-page-1/#comment-11</link>
		<dc:creator>Douglas Karr</dc:creator>
		<pubDate>Thu, 07 Feb 2008 04:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://critterscode.com/2008/01/11/i-need-help-with-a-php-mysql-thing/#comment-11</guid>
		<description>Hi Crit,

Yes, perhaps the easiest way is to output the query into an array holding the post title and content.  Then you can find each unique $post_title and then loop through the original array and concatenate each $post_content when the $post_title is found.

$post_titles = array_unique($yourarrayofpost_titles);

This will give you the unique titles.

Then for each $post_titles, loop through the returned records and build out the string.  Hope that helps!  It&#039;s hard for me to see/write/test without working with the core.

Doug</description>
		<content:encoded><![CDATA[<p>Hi Crit,</p>
<p>Yes, perhaps the easiest way is to output the query into an array holding the post title and content.  Then you can find each unique $post_title and then loop through the original array and concatenate each $post_content when the $post_title is found.</p>
<p>$post_titles = array_unique($yourarrayofpost_titles);</p>
<p>This will give you the unique titles.</p>
<p>Then for each $post_titles, loop through the returned records and build out the string.  Hope that helps!  It&#8217;s hard for me to see/write/test without working with the core.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fred2baro</title>
		<link>http://critterscode.com/2008/01/11/i-need-help-with-a-php-mysql-thing/comment-page-1/#comment-2</link>
		<dc:creator>fred2baro</dc:creator>
		<pubDate>Fri, 11 Jan 2008 12:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://critterscode.com/2008/01/11/i-need-help-with-a-php-mysql-thing/#comment-2</guid>
		<description>select DISTINCT town, action FROM world project where town=&#039;Paris&#039; should do it no ?</description>
		<content:encoded><![CDATA[<p>select DISTINCT town, action FROM world project where town=&#8217;Paris&#8217; should do it no ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.439 seconds -->
