<?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 for Stream of Ry</title>
	<atom:link href="http://rystraum.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://rystraum.com/blog</link>
	<description>Yet Another Geek In The World</description>
	<lastBuildDate>Tue, 27 Jul 2010 09:53:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Comment on CakePHP and AJAX: Inline Editing by rystraum</title>
		<link>http://rystraum.com/blog/2010/04/cakephp-and-ajax-inline-editing/comment-page-1/#comment-459</link>
		<dc:creator>rystraum</dc:creator>
		<pubDate>Tue, 27 Jul 2010 09:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://rystraum.com/blog/?p=325#comment-459</guid>
		<description>Try replacing the view from your:
&lt;pre lang=&quot;php&quot;&gt;
foreach($companies as $keys =&gt; $values){
echo $values[&#039;Company&#039;][&#039;address&#039;];
}
&lt;/pre&gt;

to:
&lt;pre lang=&quot;php&quot;&gt;
foreach ($companies as $company){
echo $company[&#039;Company&#039;][&#039;address&#039;];
}
&lt;/pre&gt;

Your problem could be related to your foreach operating over the keys and values instead of just for each instance in the array.

Then again, your question is a bit too broad so I don&#039;t know if *this* is the cause of your problem.

I haven&#039;t been doing PHP (let alone Cake) for quite a while so pardon me if I don&#039;t remember it much.</description>
		<content:encoded><![CDATA[<p>Try replacing the view from your:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$companies</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$keys</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$values</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$values</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Company'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'address'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>to:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$companies</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$company</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$company</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Company'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'address'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Your problem could be related to your foreach operating over the keys and values instead of just for each instance in the array.</p>
<p>Then again, your question is a bit too broad so I don&#8217;t know if *this* is the cause of your problem.</p>
<p>I haven&#8217;t been doing PHP (let alone Cake) for quite a while so pardon me if I don&#8217;t remember it much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CakePHP and AJAX: Inline Editing by new</title>
		<link>http://rystraum.com/blog/2010/04/cakephp-and-ajax-inline-editing/comment-page-1/#comment-458</link>
		<dc:creator>new</dc:creator>
		<pubDate>Tue, 27 Jul 2010 06:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://rystraum.com/blog/?p=325#comment-458</guid>
		<description>i have a problem with retrieving data from the DB...

Here&#039;s my select query:
&lt;pre lang=&quot;php&quot;&gt;
$companies = $this-&gt;Company-&gt;find( &#039;all&#039; );	
$this-&gt;set( &#039;companies&#039;, $companies );
&lt;/pre&gt;
And here&#039;s the view:
&lt;pre lang=&quot;php&quot;&gt;
foreach($companies AS $keys =&gt; $values){
echo $values[&#039;Company&#039;][&#039;address&#039;];
}
&lt;/pre&gt;
&lt;strong&gt;Edit: Enclosed code in pre tags&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>i have a problem with retrieving data from the DB&#8230;</p>
<p>Here&#8217;s my select query:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$companies</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">Company</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">find</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'all'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	
<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'companies'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$companies</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>And here&#8217;s the view:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$companies</span> <span style="color: #b1b100;">AS</span> <span style="color: #000088;">$keys</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$values</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$values</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Company'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'address'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p><strong>Edit: Enclosed code in pre tags</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CC Music: Denny Schneidemesser by rystraum</title>
		<link>http://rystraum.com/blog/2010/01/really-epic-music/comment-page-1/#comment-434</link>
		<dc:creator>rystraum</dc:creator>
		<pubDate>Sat, 03 Jul 2010 02:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://rystraum.com/blog/?p=228#comment-434</guid>
		<description>For those who were looking for the CC-licensed content, it was on his Newgrounds account. Sadly, he took it out since he&#039;s moving out of NG. I tried looking over his DeviantArt account but Entering the Stronghold wasn&#039;t there when I checked.

Edit: I mailed the man himself and got a reply. His works are hosted over at &lt;a href=&quot;http://www.soundclick.com/bands/page_music.cfm?bandID=604509&quot; rel=&quot;nofollow&quot;&gt;soundclick.com&lt;/a&gt; and the license is there explicitly. His works are under a CC-BY-NC-ND 3.0 Unported license. :)</description>
		<content:encoded><![CDATA[<p>For those who were looking for the CC-licensed content, it was on his Newgrounds account. Sadly, he took it out since he&#8217;s moving out of NG. I tried looking over his DeviantArt account but Entering the Stronghold wasn&#8217;t there when I checked.</p>
<p>Edit: I mailed the man himself and got a reply. His works are hosted over at <a href="http://www.soundclick.com/bands/page_music.cfm?bandID=604509" rel="nofollow">soundclick.com</a> and the license is there explicitly. His works are under a CC-BY-NC-ND 3.0 Unported license. <img src='http://rystraum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ubuntu workarounds / fixes &#8212; 1 of many by JP</title>
		<link>http://rystraum.com/blog/2010/05/ubuntu-workarounds-fixes-1-of-many/comment-page-1/#comment-428</link>
		<dc:creator>JP</dc:creator>
		<pubDate>Fri, 25 Jun 2010 09:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://rystraum.com/blog/?p=355#comment-428</guid>
		<description>¡Gracias, Rystraum!</description>
		<content:encoded><![CDATA[<p>¡Gracias, Rystraum!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selling my Nokia E75 by rystraum</title>
		<link>http://rystraum.com/blog/2010/06/selling-my-nokia-e75/comment-page-1/#comment-426</link>
		<dc:creator>rystraum</dc:creator>
		<pubDate>Tue, 22 Jun 2010 16:28:01 +0000</pubDate>
		<guid isPermaLink="false">http://rystraum.com/blog/?p=395#comment-426</guid>
		<description>@Jeune: Yep, you can read them fine on the E75. But the screen real estate isn&#039;t really something to speak of and thus could strain your eyes, especially with long readings. I&#039;ve used it for some slides though.</description>
		<content:encoded><![CDATA[<p>@Jeune: Yep, you can read them fine on the E75. But the screen real estate isn&#8217;t really something to speak of and thus could strain your eyes, especially with long readings. I&#8217;ve used it for some slides though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
