Hello,
quite new to php i'm afraid, so this might be a pretty stupid question... Anyway, this is my query (or part of it):
$query_recordset_ketcan = "SELECT * FROM programs WHERE zender = 'ketcan' AND date = '$checkdate' ORDER BY id ASC";
and the $checkdate has:
<?php
$checkdate = date('Y-m-d');
?>
but it just doesn't seem to work...
The idea is that the $checkdate takes the date in that format from the server & compare that with the value in the database.
Thanks in advance for any help given!