I did that and I get this error
Parse error: parse error in /home/webfame/hraashf-www/athletes.php on line 50
Here is my code
<?php
include("includes/connect.php");
$query = "SELECT Distinct YearInducted from athletes order by YearInducted ASC";
$result = mysql_query($query,$link);
function populateDropdown($value, $name) {
return "<option value=\"".$value."\">".$name."</option>";
}
html = "<select name=\"Year\">";
while($row = mysql_fetch_array($result)
$html .= populateDropdown($row["YearInducted"], $row["YearInducted"]);
$html .= "</select>";
?>