5
The data is like this:
-46.63642120299626,-23.54854965191239,0
I need to select so that they stay inverted:
Ex:
-23.54854965191239,0,-46.63642120299626
My selection in php:
<?php
$query = mysql_query("SELECT * FROM tabela")or die(mysql_error());
while($row = mysql_fetch_array($query))
{
$name = $row['nome'];
$latlng = $row['latlng'];
$desc = $row['desc'];
echo("addMarker($latlng, '<b>$name</b><br />');\n");
}
?>
This inversion of values (LOL) has some rule?
– rray
So, let’s see if you can help me, I need to reverse to stay in this format:-23.54854965191239,-46.63642120299626 has no specific rule. What kind of rule do you say, so I can understand better?
– Henrique S. Santos