The basic idea is to set an expiry time on a banner, so it isn't shown after a certain date. However this isn't working:
Whereas in testing (via php MyAdmin) with a typical timestamp it seems to work, e.g.:$timenow = time();
$sql = "SELECT * from banners WHERE b_mark = 0 and expiry > '$timenow'";
Is there some problem with using strings in a SELECT request?SELECT * from banners WHERE b_mark = 0 and expiry > 1040338484