Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/05/2007, 12:41
Avatar de hulray
hulray
 
Fecha de Ingreso: septiembre-2006
Mensajes: 630
Antigüedad: 17 años, 8 meses
Puntos: 3
problema con codigo

que error tiene este codigo,?, no lo puedo encontrar.

Código PHP:
<?                               
include "conexion.php";

if (!isset(
$accion)){
 
$result=mysql_query("SELECT * FROM cotizacion WHERE id='$id'",  
    
$conexion)or die(mysql_error());  
  
$row=mysql_fetch_row($result);
  echo
"<html>
<style type=\"text/css\">
<!--
.Estilo5 {font-size: xx-large}
-->
</style>
<form name=\"form1\" method=\"post\" action=\"\">
  <table width=\"745\" border=\"0\" cellspacing=\"0\">
    <tr>
      <td width=\"218\"><img src=\"imagenes/logo1.jpg\" width=\"218\" height=\"162\"></td>
      <td colspan=\"3\"><div align=\"center\"><span class=\"Estilo5\">Cotizaci&oacute;n</span></div></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td width=\"171\">&nbsp;</td>
      <td width=\"170\">&nbsp;</td>
      <td width=\"178\">&nbsp;</td>
    </tr>
    <tr>
      <td><div align=\"right\">Para:</div></td>
      <td>\"<?php echo $value=\"$row[1]\"; ?>\" border=\"0\";</td>
      <td><div align=\"right\">Fono:</div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height=\"24\"><div align=\"right\">Atenci&oacute;n:</div></td>
      <td>&nbsp;</td>
      <td><div align=\"right\">Fax:</div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><div align=\"right\">Ciudad:</div></td>
      <td>&nbsp;</td>
      <td><div align=\"right\">Faena:</div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><div align=\"right\">Fecha</div></td>
      <td>&nbsp;</td>
      <td><div align=\"right\">Mail:</div></td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><div align=\"right\">De:</div></td>
      <td>&nbsp;</td>
      <td><div align=\"right\">N&ordm; Cotizaci&oacute;n:</div></td>
      <td>&nbsp;</td>
    </tr>
<input type=\"hidden\" name=\"id\" value=\"$row[0]\">
  </table>
</form>
?>
Parse error: syntax error, unexpected $end in /home/ljubetic/public_html/imprimir_cotizacion.php on line 59

ese error sale, gracias