Código PHP:
Ver original
$getu_online = $db->query("SELECT user_id FROM " . TABLE_PREFIX . "sessions ON user_id = '" . $postsdata['poster_id'] . "' WHERE updated >= '$past_tense'");
& el error es este:
Cita:
Que puede ser? De antemano gracias. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON user_id = '4' WHERE updated >= '1346034223'' at line 1