get values from table only for a specific day in mysql
问题 i can't get the value inside my database for a specific date sample values: $from= 12/15/2012 $to= 12/15/2012 $from= 12/16/2012 $to= 12/16/2012 $from= 12/17/2012 $to= 12/17/2012 php script: $query=" select * from call where (date_time BETWEEN '$from' AND '$to') ORDER BY date_time DESC"; the value on my table which i'm getting my dates from has time in it ex values on my data base: 12/15/2012 2:51 12/15/2012 2:21 12/15/2012 2:55 12/15/2012 3:12 12/16/2012 2:51 12/16/2012 2:21 12/17/2012 2:55