Bueno asi un ojo por encima deveria ser algo asi:
Código PHP:
Ver original<?PHP
include("config.php");
$link = Conectarse();
$result = mysql_query("select * from bienes WHERE no_inventario='".$_POST['no_inventario']."'"); //$result=mysql_query('select * from bienes where seccion="SALON1"',$link);
?>
<html>
<head>
<title></title>
</head>
<body>
<CENTER> <TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1>
<TR><TD> NO_INVENTARIO</TD><TD> DESCRIPCION </TD><TD> ESTADO FISICO</TD><TD> RESGUARDANTE </TD> <TD>NIVEL</TD><td>SECCION</td></TR>
<TR> <TD colspan="6"> </TD></TR>
<TR> <TD colspan="6"></TD></TR>
<TR> <TD colspan="6"></TD></TR>
<TR> <TD colspan="6"></TD></TR>
<TR> <TD colspan="6"></TD></TR>
<?php
echo "<tr> <td> ".$row["no_inventario"]."</td> <td> ".$row["descripcion"]."</td> <td> ".$row["estado_fisico"]."</td> <td> ".$row["resguardante"]."</td> <td> ".$row["nivel"]."</td> <td> ".$row["seccion"]."</td> </tr> ".$row["id_bienes"];
}
?>
</table></CENTER>
</body>
</html>
Una de las cosas principales jamas ejecutas la query, luego el printf si podemos hacerlo directamente y es menos codigo y factible porque no hacerlo?
Otra cosa $_POST['no_inventario'] recuerda limpiar la variable antes de mandarla, porue si lo haces asi directamente puedes obtener una Inyeccion SQL(Hack), bueno espero y te sirva cualquier cosa aqui estamos n_n