Topic: Query Issue with AP_News_Generator.php and SQLite
the follow query does not work with SQLite or at least I could not get it to work!
$result = $db->query('SELECT id, subject FROM '.$db->prefix.'topics WHERE forum_id='.$forum_id.' AND
posted>=UNIX_TIMESTAMP(\''.$year_start.'-'.$month_start.'-01\') AND posted<UNIX_TIMESTAMP
(\''.$year_end.'-'.$month_end.'-01\') ORDER BY posted DESC') or error('Unable to fetch topic list', __FILE__,
__LINE__, $db->error());
Is there anybody who got a solution to the issue?
thanks a lot
Kirk