Return Ticket For Flight reservation system query issue [on

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shanu22
Forum Newbie
Posts: 3
Joined: Sat Apr 01, 2017 12:06 am

Return Ticket For Flight reservation system query issue [on

Post 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'");
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Return Ticket For Flight reservation system query issue

Post 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.
Post Reply