I have a database with properties in which each row contains a value for lattitude and longitude. I'm rolling through these like such:

PHP Code:
if ($num 0) {
$x 0;
   while (
$x $num) {
$lat mysql_result($result,$x,"plat");
$lon mysql_result($result,$x,"plon");
} else {
"Nothing there....";

How would I put these values into an array such that:

1 => lat, long
2 => lat, long
3 => lat, long
Does this make sense? The reason being is I will then need to run it through a mapping mashup to map these properties?

Can anyone help please?!?!?!?!