come mai no funziona??
grazieCodice PHP:
if(Time() <= $row['Data'])
{
include('bandito.php');
}
n.b. Data = Datetime
come mai no funziona??
grazieCodice PHP:
if(Time() <= $row['Data'])
{
include('bandito.php');
}
n.b. Data = Datetime
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
time = unix timestamp[supersaibal]Originariamente inviato da Manuelandro
n.b. Data = Datetime [/supersaibal]
devi usare la funzione mySQL UNIX_TIMESTAMP().
think simple think ringo
grazie utilissimo
scusa posso fare un'altra domanda se posso??
quando stampo il campo datetime mi esce iun questo formato
come faccio invece a stamparlo in quest'altro modo?codice:2005-02-28 15:20:35
???codice:28/02/2005 15:20:35
oppure se solo Time il campo, stampare ore e minuti senza i secondi??
grazie ancora
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
SELECT *,DATE_FORMAT(Data, '%d/%m/%Y %H:%i:%s') as formattato FROM tabella
[supersaibal]Originariamente inviato da bubu77
SELECT *,DATE_FORMAT(Data, '%d/%m/%Y %H:%i:%s') as formattato FROM tabella [/supersaibal]
grazie..ho fatto in questo modo ma mi seleziona dati in ordine di data solo fino al 31 2004, del 2005 non mi stamnap nulla come mai??
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
anzi no...mi da prima dei dati del 2004, più sotto quelli del 2005
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
Aggiungi
ORDER BY Data DESC