PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
while ($row = mysql_fetch_assoc($result)) {
$area['name'][] = $row['name'];
}
// then later you can do something like
echo '<ul>';
foreach ($area['name'] as $name) {
echo '<li>'.$name.'</li>';
}
echo '</ul>';