> $query="SELECT * FROM route where route_name=" .$_GET['route_name'];
>

Try this

$req_route = $_GET['route_name'];
$query="SELECT * FROM route where route_name = '$req_route' ";

You have to use quotes carefully in the SQL when dealing with strings,
rather than numbers. This is not a maps problem, maybe you should look
at some MySQL tutorials.

cheers, Ross K

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to