i have here a piece of code that saves the headers of sql field name to the 1st row of the xls file ,can anyon1 modify this code so that the generated string is in bold format in xls file??thx $count = mysql_num_fields($result); for ($i = 0; $i < $count; $i++){ $header .= mysql_field_name($result, $i)."\t"; }
Perhaps; if ($i == 0) { $header .= '<b>' . mysql_field_name($result, $i) . "</b>\t"; } else { $header .= mysql_field_name($result, $i)."\t"; } PHP: ??