Ben böyle bir foreach döngüsü tarafından oluşturulan bir tabloya sütun kimlikleri eklemek için arıyorum. Yardım takdir!:
echo "<h1>Table: {$table}</h1>";
echo "<table border='0'><tr>";
echo "</tr>\n";
// printing table rows
while($row = mysql_fetch_row($result))
{
echo "<tr>";
// $row is array... foreach( .. ) puts every element
// of $row to $cell variable
foreach($row as $cell)
echo "<td>$cell</td>";
echo "</tr>\n";
Thanks, Mike