Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/09/2002, 12:40
marceloxx6
 
Fecha de Ingreso: agosto-2002
Ubicación: Santiago de Chile
Mensajes: 136
Antigüedad: 21 años, 7 meses
Puntos: 1
que está malo?

tengo un formulario que lo procesa el sgte. script:
<html>
<body>
<table width="100%">
<tr>
<td><table width="90%" border="1" align="center">
<tr>
<th width="44">id</th>
<th width="121">Nombre</th>
<th width="175">Precio</th>
<th width="142">Cantidad</th>
<th width="184">Precio Total</th>
</tr>
<?php
$pulido=true;
$id_producto=$id;
if ($enviar){

$mysql_link=mysql_connect("localhost", "site85", "456422");
mysql_select_db("site85_1", $mysql_link);
$query='select * from productos where id_producto=$id ';
$mysql_result = mysql_query ($query,$mysql_link);
$preciototal=$alto*$ancho*$precio;
if($pulido){
$preciototal=$preciototal*0.2+$preciototal;
}
if($row=mysql_fetch_array($mysql_result))
{
echo("<tr><td>$row[id_producto]</td>
<td>$row[nombre]</td>
<td>$row[precio]</td>
<td>$cantidad</td>
<td>$preciototal</td></tr>");


}
?>
</table>

</body>

</html>(esta es la línea 41)
pero me dice el sgte. error:
Parse error: parse error in /home/sites/site85/web/update.php on line 41
help!!
de antemeno gracias.
Marcelo.