If you use mktime(), you have options for which date components you wish to specify (YYYY-MM-DD or YYYY-MM):
<?php
// use PHP mktime() to set your timestamps
$begin_range = mktime(0,0,0,6,0,2004);
$end_range = mktime(0,0,0,7,6,2004);
// use MySQL function UNIX_TIMESTAMP()
$sql = "SELECT ID,
UNIX_TIMESTAMP(Date_Entered)
FROM tblTesting
WHERE UNIX_TIMESTAMP(Date_Entered)
BETWEEN '$begin_range'
AND '$end_range'";
$result = mysql_query($sql, $link_id)
or die("Couldn't execute query: ".mysql_error());
while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
// do something with query results
}
?>