ragazzi ho questo errore...
ed il file index.php verso il rigo 66 è così...codice:Could not select ads DEBUG MODE SQL Error : 1064 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 ') < CURDATE()' at line 3 SELECT id FROM ads_adverts WHERE DATE_ADD(expiry_date, INTERVAL DAY) < CURDATE() Line : 66 File : index.php
secondo voi dove sbaglio?codice:$sql = "SELECT id FROM ". ADS_ADVERTS_TABLE ." WHERE DATE_ADD(expiry_date, INTERVAL " . $days_to_prune . " DAY) < CURDATE()"; // dont do this or error will display if non is found if ( !($result = $db->sql_query($sql)) ) { message_die(GENERAL_ERROR, 'Could not select ads', '', __LINE__, __FILE__, $sql); }![]()

Rispondi quotando