What everyone has said has helped me out, and I've made progress on my queries, however they still are not what I need and I'm not sure how to fix it. So here goes. I have a table that has
UserID, date, name, yrleft, cityorigin, countryorigin, yrarrival, cityarrival, starrival, email, address, city, state, zip, aorv, filename, and approved
Mandatory information includes the date, yrleft, cityorigin, countryorigin, yrarrival, cityarrival, starrival, and aorv. The filename is named with a timestamp as to when they left their recording or comment.
I need to run a query by dates from (1850-1950) so whatever date they put in, as long as it is within that time period, that it will return the results. I want to display the earliest date first. I want the results to return all the mandatory information. And approved must = Y
This is what I've gotten so far
$query = $query = "SELECT Userid, date, yrleft, cityorigin, countryorigin, yrarrival,
cityarrival, statearrival, filename FROM Story WHERE approved = 'Y' AND ORDER by date ASC
Could someone tell me why this still isn't working? I need
Searches ==== sort based on search type: Dates - descending
returns....all required fields except name...include Id and filename