two things that jump out at me:<br><br>1) &lt;bold&gt; is not a w3c compliant tag, you want to use &lt;b&gt; instead<br><br>2) You can make the code faster by running one print instead of the 8:<br><br>print &quot;&lt;b&gt;<br>
Post Date: $row[&#39;post_date&#39;]&lt;br&gt;<br>Posted By: $row[&#39;post_author&#39;]&lt;br&gt;<br>Subject: $row[&#39;post_title&#39;]&lt;br&gt;<br>&lt;/b&gt;<br>&lt;br&gt;&lt;br&gt;<br>$row[&#39;post_text&#39;]<br>&lt;hr&gt;&lt;br&gt;&quot;;<br>
<br>Other than that, it looks fine to me.<br><br>-Rob<br><br><div class="gmail_quote">On Wed, Dec 3, 2008 at 12:31 AM, Robert Wolfe <span dir="ltr">&lt;<a href="mailto:robert@muzzlethem.com">robert@muzzlethem.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ok, I know that this is probably the wrong group to be doing this in but I have a quick simple PHP question.<br>

<br>
I am working on a newsletter type PHP script and was wondering if the following code snippet was indeed correct (I am not able to test it here on my laptop just yet and I have not uploaded the code to my primary development/production/test server).<br>

<br>
::snip::<br>
 &nbsp; // load data from the database and show data in the browser<br>
 &nbsp; while($row = mysql_fetch_assoc($result))<br>
 &nbsp; &nbsp; &nbsp; {<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print &quot;&lt;bold&gt;&quot; ;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print &quot;Post Date: {$row[&#39;post_date&#39;]} &lt;br&gt;&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print &quot;Posted By: {$row[&#39;post_author&#39;]} &lt;br&gt;&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print &quot; &nbsp;Subject: {$row[&#39;post_title&#39;]} &lt;br&gt;&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print &quot;&lt;br&gt;&lt;br&gt;&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print &quot;&lt;/bold&gt;&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print $row[&#39;post_text&#39;];<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;print &quot;&lt;HR&gt;&lt;BR&gt;&quot;;<br>
 &nbsp; &nbsp; &nbsp; }<br>
<br>
:: end snip ::<br>
<br>
I am writing this small package using Zend Studio for Eclipse v6.0 on my laptop which is running Unbuntu 8.10 Desktop.<br>
<br>
_______________________________________________<br>
nflug mailing list<br>
<a href="mailto:nflug@nflug.org" target="_blank">nflug@nflug.org</a><br>
<a href="http://www.nflug.org/mailman/listinfo/nflug" target="_blank">http://www.nflug.org/mailman/listinfo/nflug</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-Rob<br><br>Ben Franklin Quote: &quot;They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.&quot;<br>