Re: db table column name to table header name



$names=array("b_date"=>"Birthdate"); // Add more!!

foreach ($row as $key => $value) {
echo "<th>".$names[$key]."</th>";
}

anyway, your coding is not very nice in both HTml and PHP:|

.