Page 1 of 1

Return Ticket For Flight reservation system query issue [on

Posted: Tue Apr 11, 2017 5:40 am
by shanu22
The Code Below is my query for return ticket but i don't what is wrong it it not returning the list of departures for specific date and the list of flights departures for specific data. its a return ticket. what is wrong with can anyone help?


$Query =("SELECT * FROM flight_details WHERE Flight_Source='$Flight_Source'and Flight_Destination='$Flight_Destination' and Departure_Date='$Departure_Date' OR Arrival_Date='$Arrival_Date' AND Flight_Destination='$Flight_Destination'");

Re: Return Ticket For Flight reservation system query issue

Posted: Tue Apr 11, 2017 6:32 am
by Celauran
This tiny bit of code out of context is not particularly helpful. More importantly, what errors are you receiving? You haven't even told us what we're looking for, just that something isn't working.