Hello this statement below works when the date is set as 02/02/2008 but when i enter it like this 2/2/2008 it dont search the date, in the database the date is set as 2/2/2008 because i need it in that format. i want to search dates from and to like i have wrote in the statement.
$sql = "SELECT DayofWeek, Bookingdate,
FROM peter
WHERE Bookingdate
BETWEEN '%$value1%'
AND '%$value2%';