<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1019285" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1019285</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/parse-error-when-calling-database#comment-1114732</link>
    <description> &lt;p&gt;first off, by using the .inc extension your code is viewable to the world:&lt;br /&gt;
&lt;a href=&quot;http://www.pstvalumni.com/phpMyEdit/PHPMyEdit.inc&quot; class=&quot;bb-url&quot;&gt;http://www.pstvalumni.com/phpMyEdit/PHPMyEdit.inc&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;if you have passwords or sensitive information in there anyone can see it.&lt;/p&gt;
&lt;p&gt;second, you can get rid of the division by zero warnings by replacing line 952 with&lt;br /&gt;
&lt;code&gt;&amp;nbsp;&amp;nbsp; echo &amp;#039;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;#039;.$this-&amp;gt;labels[5].&amp;#039;: &amp;#039;.(($this-&amp;gt;inc &amp;gt; 0)?(($this-&amp;gt;fm/$this-&amp;gt;inc)+1):0).&amp;#039; / &amp;#039;.Ceil((($this-&amp;gt;inc &amp;gt; 0)?$total/$this-&amp;gt;inc:0)).&amp;#039;&amp;lt;/td&amp;gt;&amp;#039;.&amp;quot;\n&amp;quot;;&lt;/code&gt;&#039;&lt;/p&gt;
&lt;p&gt;that won&#039;t necessarily make it work, but it will get rid of the errors.  it looks like maybe it&#039;s failing to connect to the database.&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Sep 2002 15:08:31 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1114732 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/parse-error-when-calling-database#comment-1114724</link>
    <description> &lt;p&gt;Okay.  I did what you said by adding &quot;//  &quot; before many of the lines that looked like they were broken onto a second line.  My parse error went away.  Thanks.  &lt;/p&gt;
&lt;p&gt;Now I&#039;m getting other errors.  You can see the page and it&#039;s errors &lt;a href=&quot;http://www.pstvalumni.com/phpMyEdit&quot; class=&quot;bb-url&quot;&gt;here&lt;/a&gt;.  I can include that &quot;PHPMyEdit.inc&quot; file that the errors keep mentioning, but I thought it may be easier if somebody could tell me how I can find out where lines 793 and 952 were in that file without me counting all of them.  (This is something I&#039;ve wondered for a long time)&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;(I&#039;m so close to making this work...)&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Sep 2002 14:45:29 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1114724 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/parse-error-when-calling-database#comment-1114694</link>
    <description> &lt;p&gt;You have line breaks after your comment lines like this:&lt;br /&gt;
&lt;strong&gt;// displayed in the A(dd), C(hange), D(elete), or L(ist)&lt;br /&gt;
views&lt;/strong&gt;&lt;br /&gt;
So what happens is that it doesn&#039;t see &lt;strong&gt;views&lt;/strong&gt; as a comment and gives you the parse error. Put the comments on the same line or put a // in front of them and that will fix it.&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Sep 2002 01:07:02 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1114694 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
