View Full Version : Passing value from body to head section
02-26-2007, 01: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, 02:05 AM
02-26-2007, 05: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, 03:43 PM
exactly. i was just checking to see if that variable was being set in php after the head section.
02-27-2007, 12:44 AM
Ok thanks for the replies.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.