The columns are set as dates in Mysql.
I will try to reexplain.
I have a site, where I put in some different products, that should be shownd a given date.
Eg.
product 1 should be shown 25-05-2008 till 30-05-2008
product 2 should be shown 30-05-2008 till 05-06-2008
product 3 should be shown 05-06-2008 till 10-06-2008
etc.
I defind what the from and to dates in the form, and put them in the database in two columns named "from" and "to" (set as dates columns)
Therefore the "SELECT" should be variable, and not as djheru's suggestion.