Hi can someone convert my query so that it produces a message stating
if the the query below can not find the variable $flightn in the database.
Thanks All🙂
/// Check By Flight Number ///
if($_POST['Flightn'] != '')
{
$flightn = $_POST['Flightn'];
// Check To See If Flight Number Exists //
$result = mysql_query("SELECT * FROM flightroute WHERE FlightNo = $flightn ") or die(mysql_error();
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {}
}