You need to esape your quotes in the HTML
as in
echo("<table border="0" width="125" height="27">");
should be
echo("<table border=\"0\" width=\"125\" height=\"27\">");
Mike
*********** REPLY SEPARATOR ***********
On 02/01/2003 at 11:27 PM Ezequiel Sapoznik wrote:
>Hi!
>I am receiving a parse error in the following code. The file is located at
>http://www.historiadelpais.com.ar/ppal_bio.php
>
>Anyone can help me?
>
>Thanks!
>
>Ezequiel
>
><html>
>
><head>
><title>Biografias</title>
></head>
><body background="images/StyleGreenMarble_Bg.jpg">
> <?php
> $db = mysql_connect("localhost", user, password);
> mysql_select_db(efemerides,$db);
> $response = mysql_query("select * from biografias where indice=1", $db);
> while($row = mysql_fetch_array($response));
>
>
> echo("<p align="center"><img border="0" src="images/banner_chico_bio.jpg"
>width="274" height="43"></p>");
> print "<img src=\" " . $row["banner_nombre"] . "\">";
> echo("<div align="center">");
> echo("<center>");
> echo("<table border="1" width="500" height="25">");
> echo("<tr>");
> echo("<td width="500" height="25">");
> echo("<div align="left">");
> echo("<table border="0" width="125" height="27">");
> echo("<tr>");
> echo("<td width="125" height="27"></td>");
> echo("</tr>");
> echo("</table>");
> echo("</div>");
> echo("<p>");
>
> print($row["texto"] ."<br>\n");
>
> echo("</td>");
> echo("</tr>");
> echo("</table>");
> echo("</center>");
> echo("</div>");
> }
>
>?>
>
>
></div>
>
></html>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php