Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Pubcon Website
variable used before it's assigned busystock msg:4085575 2:27 pm on Feb 23, 2010 (gmt 0) i have to display a variable at the top of the page, and the variable is assigned in the middle of the page... how can i do that? thank you.
Matthew1980 msg:4085601 3:02 pm on Feb 23, 2010 (gmt 0)
Hi there busystock, Just quickly thinking, couldn't you assign the var to a session and then refresh the page then:-
echo (isset($_SESSION['some_session']) ? $_SESSION['some_session'] : ''); Again just a thought, but you can see the process there hopefully... Cheers, MRb jatar_k msg:4085602 3:05 pm on Feb 23, 2010 (gmt 0)
assign it at the top of the page a little more specific information about the scenario would probably help give a more useful answer liam_85 msg:4086997 11:35 am on Feb 25, 2010 (gmt 0)
Hello, Why dont you assign the variable at the top of the page and assign the other data (what you are using in the middle of the page) in variables at the same point, then call on them in the middle of the page.