Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/03/2011, 13:56
jjnel
 
Fecha de Ingreso: marzo-2010
Ubicación: colombia_santander
Mensajes: 68
Antigüedad: 14 años, 2 meses
Puntos: 0
Respuesta: consultas con script

sale ahora este error: Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\faico\consulta.php on line 5

<?php
include("conec.php");
$link=Conectarse();
$id=$_GET['id'];

$result=mysql_query("SELECT * FROM maquina WHERE id=$id");
$row=mysql_fetch_array($result);
?>


<p>
<label>
<input type="text" name="textfield" value="<? echo $row["nombmaq"]; ?>">
</label>
</p>
<p>
<input type="text" name="textfield2" value="<? echo $row["tipo_man"]; ?>">
</p>
<p>
<input type="text" name="textfield3" value="<? echo $row["operario"]; ?>">
</p>
.
.
.
<p>&nbsp;</p>