> "; $sqly = "select * from activity_name group by Year order by Year DESC"; $dbqueryy = mysql_query($sqly); $num_rowsy = mysql_num_rows($dbqueryy); if($num_rowsy>0) { $y=1; while($y<=$num_rowsy) { $rsy = mysql_fetch_array($dbqueryy); $year = $rsy[Year]; if($year !="") { if($cyear==$year) { echo "$year | "; }else{ echo "$year | "; } } $y++; } } ?>

">
  ปี :