<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1039378" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1039378</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-display-individual-fields-mysql-query-php#comment-1223266</link>
    <description> &lt;p&gt;Thank you for the tip on checking the source code... why didn&#039;t I think of that :*&lt;/p&gt;
&lt;p&gt;I spotted the mistake immediately - I was tryin to populate the table outside of the while loop.  How stoopid!  LOL&lt;/p&gt;
 </description>
     <pubDate>Mon, 20 Aug 2007 06:37:48 +0000</pubDate>
 <dc:creator>Fiery Phoenix</dc:creator>
 <guid isPermaLink="false">comment 1223266 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-display-individual-fields-mysql-query-php#comment-1223258</link>
    <description> &lt;p&gt;Good call Greg, I just assumed that knowledge of one quote rule would follow another...&lt;/p&gt;
 </description>
     <pubDate>Sun, 19 Aug 2007 22:19:09 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1223258 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-display-individual-fields-mysql-query-php#comment-1223256</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Greg K;223250 wrote:&lt;/strong&gt; This is not the case. It depends on what style quotes you are using for the echo. You must escape any quotes that are the same type that surround the string (and this is for anything with a literal string, not just echo)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Ahh, I didn&#039;t even pay attention to the beginning quote.  I guess since I always like to do &quot; &#039; &#039; &quot; order, I just assumed he started with a double quote as well.&lt;/p&gt;
 </description>
     <pubDate>Sun, 19 Aug 2007 21:28:49 +0000</pubDate>
 <dc:creator>mscreashuns</dc:creator>
 <guid isPermaLink="false">comment 1223256 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-display-individual-fields-mysql-query-php#comment-1223250</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;mscreashuns;223242 wrote:&lt;/strong&gt; Any double quotes (&quot; &quot;) within an echo statement must be escaped. Without escaping them, your code will not display properly.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This is not the case. It depends on what style quotes you are using for the echo. You must escape any quotes that are the same type that surround the string (and this is for anything with a literal string, not just echo)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;GOOD:&lt;/strong&gt;&lt;br /&gt;
echo &#039;This is the &quot;real&quot; deal!&#039;;&lt;br /&gt;
echo &quot;Can&#039;t think of good example&quot;;&lt;br /&gt;
echo &quot;This is the \&quot;real\&quot; deal!&quot;;&lt;br /&gt;
echo &#039;Can\&#039;t think of a good example&#039;;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BAD:&lt;/strong&gt;&lt;br /&gt;
echo &quot;This is the &quot;real&quot; deal!&quot;;&lt;br /&gt;
echo &#039;Can&#039;t think of a good example&quot;;&lt;/p&gt;
&lt;p&gt;So the examples in the given code are just fine (other than the missing ending quote and semicolon, but this is probably becasue there was more to the echo statement jsut not posted here)&lt;/p&gt;
&lt;p&gt;In fact, I just took that code, added the ending quote, and at the start of it defined the array using&lt;br /&gt;
$row = array(&#039;name&#039; =&amp;gt; &#039;Greg&#039;);&lt;br /&gt;
and ran that sniplet, and it worked just fine giving me HTML code.&lt;/p&gt;
&lt;p&gt;(also, before someone suggests it, the fact that in your non working code you use $row[&#039;name&#039;] and in the test you used $row[&quot;name&quot;] makes no difference (again, just tested that to make sure)&lt;/p&gt;
&lt;p&gt;So this leads me to beleive one of two things, your CSS for the table is messed up, and it is just not visible (check this by doing VEIW SOURCE, or in Firefox, choose &lt;strong&gt;VIEW&lt;/strong&gt;-&amp;gt;&lt;strong&gt;Page Style&lt;/strong&gt;-&amp;gt;&lt;strong&gt;No Style&lt;/strong&gt;) or at this point in your code, $row does not actually contain what you think it should. You didn&#039;t mention if your test of  was a direct replace of the other code or jsut done elsewhere, so I suggest the following:&lt;/p&gt;
&lt;p&gt;Right &lt;strong&gt;&lt;em&gt;before&lt;/em&gt;&lt;/strong&gt; the line   //display the results put this code and view the source:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;pre&amp;gt;&amp;lt;tt&amp;gt;\n\&quot;;&lt;br /&gt;print_r(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;die(&#039;&amp;lt;/tt&amp;gt;&amp;lt;/pre&amp;gt;&#039;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
When you view your source code the output of this will be the very end. Check to make sure that vaules you are expecting are in the array this way. This is a simple way to check for lost array values. (the &lt;/p&gt;
&lt;pre&gt; are optional, but I like them so if it is visible on the web page itself, it is easier to read ;-)

-Greg &lt;/pre&gt;</description>
     <pubDate>Sun, 19 Aug 2007 18:30:03 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1223250 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-display-individual-fields-mysql-query-php#comment-1223249</link>
    <description> &lt;p&gt;Are you sure you did it correctly?  The quotes on the front and end of the statement need to be &quot; WITHOUT a \&lt;/p&gt;
&lt;p&gt;Right click, and &quot;View Source&quot;.  Do you see the data printed into the code somewhere, but just not where expected?  If so, fix that.&lt;/p&gt;
&lt;p&gt;Your only real issue is the quotes.&lt;/p&gt;
 </description>
     <pubDate>Sun, 19 Aug 2007 17:18:05 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1223249 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-display-individual-fields-mysql-query-php#comment-1223243</link>
    <description> &lt;p&gt;hmmm....&lt;/p&gt;
&lt;p&gt;I went through and replaced the &quot; with \&quot; as suggested in the previous reply... but all this did was remove all formatting completely!&lt;/p&gt;
&lt;p&gt;I have reverted to the original &quot; formatting for now...&lt;/p&gt;
&lt;p&gt;It&#039;s  the formatting of the table that is the issue - I cannot see the field results when I echo them.&lt;/p&gt;
&lt;p&gt;Specifically :&lt;br /&gt;
------------------&lt;/p&gt;
&lt;p&gt;[=&quot;Times New Roman&quot;]echo $row[&#039;name&#039;];[/]&lt;/p&gt;
&lt;p&gt;does nothing.&lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;
 </description>
     <pubDate>Sun, 19 Aug 2007 12:58:21 +0000</pubDate>
 <dc:creator>Fiery Phoenix</dc:creator>
 <guid isPermaLink="false">comment 1223243 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-display-individual-fields-mysql-query-php#comment-1223242</link>
    <description> &lt;p&gt;There could be other problems, but the main one I am seeing is the code here:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;echo &amp;#039; &amp;lt;div class=&amp;quot;main&amp;quot;&amp;gt;&lt;br /&gt;...&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
Any double quotes (&quot; &quot;) within an echo statement must be escaped.&lt;/p&gt;
&lt;p&gt;e.g.&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;echo &amp;quot;&amp;lt;div class=\&amp;quot;main\&amp;quot;&amp;gt;&lt;br /&gt;...&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Without escaping them, your code will not display properly.&lt;/p&gt;
 </description>
     <pubDate>Sun, 19 Aug 2007 12:25:18 +0000</pubDate>
 <dc:creator>mscreashuns</dc:creator>
 <guid isPermaLink="false">comment 1223242 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
