select * from qc_gare,qc_champs where qc_gare.datainz>now() ORDER BY qc_gare.datainz ASC LIMIT 1
Non hai bisogno di usare una variabile php, esiste già nel database la funzione now()
select * from qc_gare,qc_champs where qc_gare.datainz>now() ORDER BY qc_gare.datainz ASC LIMIT 1
Non hai bisogno di usare una variabile php, esiste già nel database la funzione now()