Ciao, sono alle prese con le sessioni.
Ho una query che deve aggiornare dei dati in base ad unix_timestamp.
questa:
$sql_update = "UPDATE `utenti` SET 'last_login' = UNIX_TIMESTAMP(NOW()) WHERE `id_user` = '{$id_user}'";
Il problema è che se stampo la query ho queto risultato:
UPDATE `utenti` SET 'last_login' = UNIX_TIMESTAMP(NOW()) WHERE `id_user` = '1'
Domanda??
Come cavolo faccio a ottenere il valore numerico di unix_timestamp![]()
![]()
![]()
bye