In the comment system, there is a strange blank entry in the part of my website that always remains above the latest real entry. I have seen directly in the database and there is no empty entry. Nevertheless, at the top of all my comments, there is always a blank box formatted similar to other comments. Where is this coming from and how can I get rid of it? Here is the PHP:
$ query = "select- from catharsis"; $ Result = mysql_query ($ query); $ Num = mysql_numrows ($ Result); Mysql_close (); Echo "& lt; h4 & gt; & lt; center & gt; run it. & Lt; / center & gt; & lt; / h4 & gt;"; Echo & lt; Ul class = "comments" & gt; '; ($ Name = mysql_result ($ result, $ num - $ i, "message"); echo " for $ i = 0; $ i & lt; $ num; $ i ++) $ Name & lt; / li & gt; "echo" & lt; br & gt; ';} echo' & lt; / ul & gt; ';
ul.comments {list-style-type: none; position: relative; right: 2.5m;} ul.comments li {list-style-type: none; background color: c0dbff; Border-style: solid; border width: 1px; border color: black; padding: .4em;}
$ query = 'Choose the message of the order by ID DESC'; $ result = mysql_query ($ query); mysql_close (); one & Lt; h4 & gt; Center & gt; It's outside. & Lt; / center & gt; & lt; / h4 & gt;;; echo & lt; ul class = "comments" & gt; ; '; While ($ t = mysql_fetch_array ($ result)) {echo' gt; $ T [0]. '& Lt; / li & gt; & lt; br & gt;'; } Echo ' & gt;';
Comments
Post a Comment