Level 122
No thats fine.
Checkout google's address bar when you click on a location!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, I am trying to create a search bar for users to see events near the area they search. I am using the google places api to get the lat and long when the user enters the address. I attach the lat and long to hidden fields and submit the query. This does work in sending the lat and long, but I end up with a search bar looking like this
http://showbelow.test/search?term=New+York%2C+NY%2C+USA&latitude=40.7127753&longitude=-74.0059728
Is there any problem with doing it this way? Thanks! Chris
No thats fine.
Checkout google's address bar when you click on a location!
Please or to participate in this conversation.