Codice PHP:
$cost .= "<td>".$row[$row['nome']]."</td>"
se le impostazioni di $row sono corrette