-1

lets simply explain what I need to do. I receive from my DB two coordinates, which should be added to iframes URL. Let show you example: I receive into my html page two coordinates of one point: x=39.85346 y=28.36137 Then I have iframe which consist of some url: http://www.xxxx.yy/xxxx.htm#zoom=19&x=39.85346&y=28.36137&layers_3=0B0000FFFTFT&yon=28.36137&x=39.85346 I need to create some variables inside of my iframes URL (strong) to create iframe which is changed based on points from DB. I hope question is clear. Thank you very much guys

0

1 Answer 1

0

i assumed your variables as $x,$y,$xon,$yon,$layers and x is repeated twice in url,it has to be different.

Try below code:

<iframe src="http://www.xxxx.yy/xxxx.htm#zoom=19&x=<?php echo $x; ?>&y=<?php echo $y;?>&layers_3=<?php echo $layers;?>&yon=<?php echo $yon; ?>&xon=<?php echo $xon;?>"></iframe>
Sign up to request clarification or add additional context in comments.

1 Comment

Thank you, that worked..

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.