File manager - Edit - /home/autoph/public_html/connectv1/cron/birthday_greetings_daily.php
Back
<?php include_once("../cfg/db.php"); $date_now = ""; $now = $db->sql_query("SELECT NOW() AS date_now"); foreach($now AS $data){ $date_now = $data['date_now']; } $month = substr($date_now, 5, 2); //get month $day = substr($date_now, 8, 2); //get day $get_birthday_celebrant_query = "SELECT * FROM customer WHERE DAY(date_of_birth) = " . $day . " AND MONTH(date_of_birth) = " . $month; echo $get_birthday_celebrant_query; ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings