I stored the day(10), month(4) and year(1993) seperately. How do I compare it with the current date? If the date matches then send an email to myemail@gmail.com using cron.
here is the code:
<?php
include"connect_mysql.php";
$reminder_dates = mysql_query("SELECT*FROM registration_form");
while($row = mysql_fetch_array($reminder_dates)){
$main_dob_day = $row['main_dob_day'];
$main_dob_month = $row['main_dob_month'];
$main_dob_year = $row['main_dob_year'];
}
?>