I would have a short question : I have 5 arrays (for instance: name,surname, zip, size, group) and I would like to print their content in a table with 5 colums, each colum corresponding to one of the 5 arrays something like
name -------surname -------zip -----size--------group//1st value of each array
name -------surname -------zip -----size--------group//2nd value of each array
name -------surname -------zip -----size--------group//3rd value of each array
etc...
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
foreach($data as $row)
{
echo "<tr><td>{$row['name']}</td><td>{$row['surname']}</td>...etc...</tr>\n";
}
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks