$from = "2006-09-30";$to = "2006-12-01";"SELECT * FROM ". TABLE_PREFIX ."event WHERE dateline BETWEEN ". strtotime($from) ." AND ". strtotime($to)