I like to ask about a date select.. how my topic name tell, I want to select the daily births..
The user open the page and, in a div, have all the members who are at birthday..
But, my logic problem is: The table record the born, like... 20/10/1987, 09/06/1981.. and my select test if born is between afternoon and tomorrow.. this test is because i want to select between 3 days ago and 3 days after..
$sql = "SELECT id, born, name FROM tbMembers WHERE (born > $daysago AND born < $daysafter) ORDER BY born DESC"; $query = mysql_query ( $sql , $conn );It will test the born year with 2006, so, never select...
Thanks anyway.. =)