I should say: what I need is a output like this:
example:
<?xml version="1.0" encoding="UTF-8" ?>
- <gpx>
- <metadata>
- <extensions>
</extensions>
</metadata>
- <wpt lat="55.68316" lon="11.82938">
- <extensions>
- <html>
- <![CDATA[ <a target=_blank href="mymap/picture.jpg"><img...
I suggest i should replace my CDATA with something. Can you explain me?
If I replace my code in CDATA with text:
$xml .= '<![CDATA[<a target=_blank href="mymap/picture.jpg"><img src="mymap/picture.jpg"/></a>]]>';
-then it works.
In my XML-code I want to make a link to popup an image.
I have this code:
the data comes from this array:
$files[] = array(
"filename"=>$file,
"intLatitude"=>$intLatitude,
"intLongitude"=>$intLongitude);
"directory"=>$$dh...
The [1.1] is the just the answer I need to tell me the syntax of the code.
Maybe you will understand if I tell what I should use the file to?
I should make a map in Gmaps (Googles map-system).
It is needed that the input should be an XML- (or an XML- look-like) file.
My code should result in...
I have an array created in php:
$files[] = array(
"filename"=>$file,
"intLatitude"=>$intLatitude,
"intLongitude"=>$intLongitude);
I need to create a XML-file with the php-file informations included. It should look so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.