$lang = $_REQUEST[lang]; if ($lang==2) $format= "%W the %D of %M %Y at %h:%i %p"; else $format = "%Y-%m-%d %H:%i"; $year = 'SELECT date, DATE_FORMAT(date, \''.$format.'\'), description, ville, pays FROM date_spectacle WHERE date >= DATE(NOW()) ORDER BY date DESC'; $req = mysql_query($year)or die (mysql_error()); $row = mysql_fetch_row($req); while(isset($row[0])) { echo "