5
I made a schedule and I need events that have already passed not appear anymore, dates are with 3 fields DAY/MONTH/YEAR, I am using the Concat and date to join and format the dates, so this is the current query:
$query = mysql_query("SELECT * FROM `tabela1` WHERE `evento` LIKE '%$busca%' ORDER BY date(concat(ano,'-', mes,'-',dia)) ASC") or die(mysql_error());
Valew, I got the code q vc just posted and made some modifications!!! is in the edited topic...
– user3517672