View Full Version : Passing value from body to head section
02-26-2007, 12:41 AM
I would like to pass this php value in the body section.
map.setCenter(new GLatLng($row), 13);
Anyone know how i can do this?
02-26-2007, 01:05 AM
02-26-2007, 04:14 AM
Why not just do this?
map.setCenter(new GLatLng(<?php echo $row; ?>), 13);
Since the php needs to parse before it gets to the client.
02-26-2007, 02:43 PM
exactly. i was just checking to see if that variable was being set in php after the head section.
02-26-2007, 11:44 PM
Ok thanks for the replies.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.