clean-up

Kuba Ober kuba at mareimbrium.org
Mon Dec 27 16:30:16 CST 2004


On czwartek 23 grudzień 2004 05:44 pm, Jonathan Ernst wrote:
> Le jeudi 23 décembre 2004 à 22:39 +0100, Paul van Schayck a écrit :
> > Hey Eric,
> >
> > On Thu, 23 Dec 2004 01:38:02 -0800 (PST), Eric Blade <ekdikeo4 at yahoo.com> 
wrote:
> > > The attached patch includes a lot of cleaning up,
> > > mostly to HTML, a bit to some PHP.
> >
> > What's this supposed to do:
> >      if(!$tempResult)
> >   {
> > -     echo "$query <br>\n";
> > +     echo "$query <<br />>\n";
> >       echo "An error occurred: ".mysql_error()."<p>";
> >       exit;
> >   }
> > @@ -68,7 +68,7 @@
> >      if(debugging())
> >      {
> >   echo $query;
> > - echo "<br><br>";
> > + echo "<<br />><<br />>";
> >      }
>
> Same question: what are those <<br />> ???

The double brackets are wrong. But the slash is just to make it valid xhtml. 
So it should be:

echo "<br /><br />";

Cheers, Kuba Ober




More information about the wine-devel mailing list