<?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: How to Select Field Names in Table in CakePHP</title>
	<atom:link href="http://webplantmedia.com/cakephp/2010/04/how-to-select-field-names-in-table-in-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://webplantmedia.com/cakephp/2010/04/how-to-select-field-names-in-table-in-cakephp/</link>
	<description>Lubbock Web Design and Web Development</description>
	<lastBuildDate>Sat, 21 Jan 2012 08:57:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Selasi</title>
		<link>http://webplantmedia.com/cakephp/2010/04/how-to-select-field-names-in-table-in-cakephp/comment-page-1/#comment-5657</link>
		<dc:creator>Selasi</dc:creator>
		<pubDate>Thu, 28 Apr 2011 17:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=323#comment-5657</guid>
		<description>SO how do I select a particular field in the table. Like with your example, I only want to select the body from the POST table without the other fields.
Am all new to cakePHP and little bit confused. Please help me</description>
		<content:encoded><![CDATA[<p>SO how do I select a particular field in the table. Like with your example, I only want to select the body from the POST table without the other fields.<br />
Am all new to cakePHP and little bit confused. Please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brendan Sullivan</title>
		<link>http://webplantmedia.com/cakephp/2010/04/how-to-select-field-names-in-table-in-cakephp/comment-page-1/#comment-2534</link>
		<dc:creator>Brendan Sullivan</dc:creator>
		<pubDate>Fri, 30 Jul 2010 15:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=323#comment-2534</guid>
		<description>@Nathan:

something like this would work even on an empty table:

function index(){
$this-&gt;set(&#039;fields&#039;,Set::extract(&#039;/COLUMNS/Field&#039;,$this-&gt;Unit-&gt;query(&quot;DESCRIBE {$this-&gt;Unit-&gt;useTable}&quot;)));
	}</description>
		<content:encoded><![CDATA[<p>@Nathan:</p>
<p>something like this would work even on an empty table:</p>
<p>function index(){<br />
$this-&gt;set(&#8216;fields&#8217;,Set::extract(&#8216;/COLUMNS/Field&#8217;,$this-&gt;Unit-&gt;query(&#8220;DESCRIBE {$this-&gt;Unit-&gt;useTable}&#8221;)));<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://webplantmedia.com/cakephp/2010/04/how-to-select-field-names-in-table-in-cakephp/comment-page-1/#comment-1605</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Wed, 19 May 2010 10:29:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=323#comment-1605</guid>
		<description>I presume this would require entries in the database to work? What about if the table was empty?</description>
		<content:encoded><![CDATA[<p>I presume this would require entries in the database to work? What about if the table was empty?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Select Field Names in Table in CakePHP &#124; Source code bank</title>
		<link>http://webplantmedia.com/cakephp/2010/04/how-to-select-field-names-in-table-in-cakephp/comment-page-1/#comment-31</link>
		<dc:creator>How to Select Field Names in Table in CakePHP &#124; Source code bank</dc:creator>
		<pubDate>Sat, 10 Apr 2010 10:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.webplantmedia.com/?p=323#comment-31</guid>
		<description>[...] from: How to Select Field Names in Table in CakePHP   If you enjoyed this article please consider sharing [...]</description>
		<content:encoded><![CDATA[<p>[...] from: How to Select Field Names in Table in CakePHP   If you enjoyed this article please consider sharing [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

