i would like to ask you for some help about my problem.
my current code:
require_once 'MysqliDb.php';
$db = new MysqliDb('localhost', 'xy', 'xy', 'xy');
$users = $db->rawQuery('select * from police where datediff(skadenca,current_date())=30');
So now i select all queries where current date is +30days...but problem is because i want to use that script so send sms for birtdays too, si i need to somehow ignore year in current_date()...so i would like maybe to select full date, but strtotime and delete year, so i would need just day and month...
is there any quick solution for that?
Sorry but i'm still learning about php and sql, so probably my question will sound stupid?
Thanks for all answers