如何使用带索引的PDO :: FETCH_COLUMN显示列名?

//PHP code for submit

include("cfg.php");
if($_SERVER["REQUEST_METHOD"]=="POST"){

$tbname = $_POST['c'];
$last = $_POST['dbTables'];

$result = $db->prepare("ALTER TABLE `cont` ADD $tbname DECIMAL(20,2) NOT NULL DEFAULT '0.00' AFTER $last");
$result->execute(); 
unset($_POST);
header('Location: '.$_SERVER['PHP_SELF']);

//BODY

<form name="f1" method="post" action="">
<table>
<tr><td>Last Column<td></tr>
<tr>
<td>
<select id="dbTables" name="dbTables">

<?PHP
    $rs = $db->query('DESCRIBE cont');
    $rs->execute();

    $table_fields = $rs->fetchAll(PDO::FETCH_COLUMN);
    foreach ($table_fields as $row){


        echo '<option value="'.$row.'" selected="selected">'.$row.'</option>';


    }
?>


</select>
</td>
<td><input type="text" name="c" placeholder="db table name"></td>
<td><input type="submit" name="submit" value="Submit"></td>
</tr>
</table>
</form>

<table name="tb3">

<th>Date</th>
<th>Alobs</th>
<th>Claimant</th>
<th>Description</th>
<?PHP

$result= $db->query('DESCRIBE cont');
$result->execute();

$fieldname = $result->fetchAll(PDO::FETCH_COLUMN);
foreach($fieldname as $row){

    echo '<th>'.$row.'</th>';
}


?>


</table>

Guys is there a way to exclude displaying the ones with yellow highlight? I've been searching for an answer in the net but to no avail. Hope someone helps. https://i.stack.imgur.com/0EJVC.png

I have to confess that whole code makes no sense to me. Neither can I make any connection between the question title and the body. But, taking the title literally

foreach($fieldname $index as $row){

    echo "<th>$index. $row</th>";
}