Por fin pude solventar el problema con respecto a la busqueda solvente el problema de las comillas que dijo johnx y de las mayusculas como dijo fbarreiro y funciono y el probelma de que me mostraba la pagina en blanco lo solvente cambiando
por
como dijo pata_de_jaguar ahora si fumciona por completo la busqueda...
Gracias a todos por su ayuda...
He aqui el codigo PHP completo
PHP:
mysql_fetch_assoc
PHP:
mysql_fetch_array
Gracias a todos por su ayuda...
He aqui el codigo PHP completo
PHP:
<?php
include "Config.php";
// connect to the mysql server
$link = mysql_connect($server, $db_user, $db_pass)
or die ("Could not connect to mysql because ".mysql_error());
// select the database
mysql_select_db($database)
or die ("Could not select database because ".mysql_error());
//Perform Search
$departure = $_POST["Departure"];
$airliner = $_POST["Airliner"];
$result = mysql_query("SELECT * FROM $table WHERE Departure = '".$departure."' AND Airliner = '".$airliner."' LIMIT 0, 30 ")
or die(mysql_error());
echo "<table border=1 bordercolor=#ffffff width=\"100%\" class=Estilo1>";
echo "<tr> <th>Flight #</th> <th>Dep</th> <th>Arr</th> <th>Airliner</th> <th>Route</th> </tr>";
// keeps getting the next row until there are no more to get
while($row = mysql_fetch_array( $result )) {
// Print out the contents of each row into a table
echo "<tr><td>";
echo $row['id'];
echo "</td><td>";
echo $row['Departure'];
echo "</td><td>";
echo $row['Arrival'];
echo "</td><td>";
echo $row['Airliner'];
echo "</td><td>";
echo $row['Route'];
echo "</td></tr>";
}
?>