De antemano muchas gracias por ver mi tema y por el tiempo brindado.
Tengo el siguiente código, pero no me realiza las búsquedas filtradas, ¿Alguien me pude decir en que falle?
$conecta = mysql_connect($host, $user, $pass);
if (!$conecta){
echo "<h1> Servidor no encontrado </h1>";
exit();
}
if (!mysql_select_db("catalogo", $conecta)){
echo "<h1> Base de datos no encontrada </h1>";
exit();
}
$titulo=$_POST['titulo'];
echo "$titulo";
echo "<center> <h1> Consultas</h1>";
$result=mysql_query("select * from fichas
where ficha_no like '%$titulo%'
and etiquetasmarc like '%$titulo%'
and isbn like '%$titulo%'", $conecta);
echo "<table border>";
echo "<tr><th>FICHA</th><th>DATOS GENERALES</th><th>ISBN</th><tr>";
while ($fila=mysql_fetch_array($result)){
$cadena=$fila['etiquetasmarc'];
$tok=strtok($cadena,"¦");
echo "<tr>";
echo "<td align='center'>".$fila['ficha_no']."</td>";
echo "<td>";
while ($tok !== false){
if (substr($tok, 0, 3)==500 || substr($tok, 0, 3)==503 || substr($tok, 0, 3)==504){
break;
}
else
{
$tok=substr($tok,3);
echo "$tok<br/>";
$tok=strtok("¦\n\t");
}
}
echo "</td>";
echo "<td>".$fila['isbn']."</td>";
echo "</tr>";
}
Gracias por su comentario!!!!