Hola amigos nuevamente YO el novato con este problema,
Estoy usando el clásico , Plantilla para mofificar que consta de 3 y al probar no me funciona lo siguiente:
<html>
<head>
<title>Consulta.html</title>
</head>
<body>
<H1>Modificar Datos</H1>
<FORM ACTION="busca.php" METHOD="POST">
NºPoste:
<INPUT TYPE="text" NAME="nposte" SIZE="3" MAXLENGTH="30">
<INPUT TYPE="submit" NAME="accion" VALUE="Buscar">
</FORM>
</body>
</html>
Luego va a
busca.php
y acá me arroja el siguiente ERROR: Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\xampp\doos\busca.php on line 6
<html>
<body>
<?php
include("conec.php");
$link=Conectarse();
$Sql="select * from revision where nposte like '%."$_POST["nposte"]."%'";
$result=mysql_query($Sql,$link);
?>
<TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1>
<TR>
<TD> NPoste</TD>
<TD> Pk </TD>
<TD> Intentos </TD>
<TD> Carcaza </TD>
<TD> Logfront </TD>
<TD> Lognort </TD>
<TD> Logsur </TD>
<TD> panel </TD>
<TD> antena </TD>
<TD> fecha </TD>
<TD> observacion </TD>
</TR>
<form name="form1" method="post" action="modifica.php">
<?php
while($row = mysql_fetch_array($result))
{
printf("<tr><td><INPUT TYPE='text' NAME='nposte' SIZE='3' MAXLENGTH='30' value='%s'></td><td> <INPUT TYPE='text' NAME='pk' SIZE='3' MAXLENGTH='30' value='%s'> </td><td> <INPUT TYPE='text' NAME='intentos' SIZE='20' MAXLENGTH='3' value='%s'> </td><td> <INPUT TYPE='text' NAME='carcaza' SIZE='3' MAXLENGTH='30' value='%s'> </td><td> <INPUT TYPE='text' NAME='logfront' SIZE='3' MAXLENGTH='30' value='%s'> </td><td> <INPUT TYPE='text' NAME='lognort' SIZE='3' MAXLENGTH='30' value='%s'> </td><td> <INPUT TYPE='text' NAME='logsur' SIZE='3' MAXLENGTH='30' value='%s'> </td><td> <INPUT TYPE='text' NAME='panel' SIZE='3' MAXLENGTH='30' value='%s'> </td><td> <INPUT TYPE='text' NAME='antena' SIZE='3' MAXLENGTH='30' value='%s'> </td><td> <INPUT TYPE='text' NAME='fecha' SIZE='3' MAXLENGTH='30' value='%s'> </td><td> <INPUT TYPE='text' NAME='observacion' SIZE='3' MAXLENGTH='30' value='%s'> </td></tr>", $row["nposte"],$row["pk"],$row["intentos"],$row["carcaza"],$row["logfront"],$row["lognort"],$row["logsur"],$row["panel"],$row["antena"],$row["fecha"],$row["observacion"]);
}
mysql_free_result($result);
?>
</form>
</body>
</html>
Hasta acá llego por que no he podido, sacar el ERROR