Hi,
I have two tables: courses, courseRates
What I need is list all courses including their rates within a certain period. It is possible that some courses are queried more then once because there are several rates within the specific time span chosen. This is no problem.
The problem I am having is that I also want to display all courses for which the course rate is not yet available in the specific period.
a normal MySQL query like:
SELECT courses.name,courses.link,courses.region,courseRates.public,courseRates.descr
FROM courses,courseRates WHERE ".implode(" AND ",$array)."
ORDER BY `courses.name` ASC
will only find those courses for which also course rates have been found.
I wonder what the easiest way is to show all courses (sorted) and include those courses that were not found with a 'not yet available' mark for the rates?
Hope this explanation of my problem was clear and that there is anyone who can help me getting started with this.
regards,