Buscar libro por:

“;
$result = mysql_query(“SET NAMES utf8″, $link);
$result = mysql_query($query, $link);
if ($row = mysql_fetch_array($result))
{
echo ”

“;
do{
echo ”

“;
}while ($row = mysql_fetch_array($result));

$query =”SELECT count(*) as suma FROM resttemp_DB WHERE “.$por.” LIKE ‘%”.$filtro.”%'”;
$result = mysql_query($query, $link);
$row = mysql_fetch_array($result);
echo”

Autor Titulo Materia Ver Ficha
“.$row[“D_AUTOR”].” “.$row[“D_TITULO”].” “.$row[“T_MATERIAS”].”

“;
}
else
{
echo “

No hay resultados para su búsqueda

“;
}
?>