I have 2 php files located at
(code for both files below)
when the link on www.blossompark.net/firstpage.php
is used it sends a predefined query string to www.blossompark.net/secondpage.php
the secondpage.php file creates a variable "coordinates" from the query string.
I now want to append that data (which is a set of google gps coordinates) to a html url on the same page. I'm having difficulty appending this data which should end up creating the following url;
Ive tried putting in on secondpage.php
<?php $_GET['q'] ?> " > Current Location < /a>
put it completely ignores the php
how can i reference the contents of the coordinates variable from within the html url?
thanks ...first time with php and html here...go easy!!!
<a href="secondpage.php?q=53.290208540067006 -6.274996866083001" >send url from phone simulation
$coordinates = $_GET['q'];
echo " <br /> $coordinates ";
<a href="http://maps.google.com/maps?q= " >Current Location