![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
Código de la búsqueda:
Código PHP:
include ("bd_conection.php");
$link = conectarse();
$search=$_POST['search'];
$sql = "SELECT * FROM pacientes WHERE Nombre_Paciente='$search'";
$result = mysql_query($sql) or die(header("Location: Login.php?error=2"));
$row = mysql_fetch_array($result);
if (mysql_num_rows($result)!=0)
{
//Aquí está la tabla que imprime datos
}
else
{
header("Location: patient_consultation.php?error=1");
}