dragance Posted May 4, 2006 Share Posted May 4, 2006 I have php code like this:[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]<a href="http://www.domain.com/<?php echo $value; ?>">LINK</a>[/quote]and afterwards in this document I calculate this $value and gets $value=something;So I want to send this $value back to the link in the same document.I can't calculate $value before the link.Is it possible to do it? Kind regards. Quote Link to comment https://forums.phpfreaks.com/topic/9050-post-value-in-the-same-documment-backwards/ Share on other sites More sharing options...
ober Posted May 4, 2006 Share Posted May 4, 2006 You have control over that entire document before it gets to the client. I suggest you move your calculations within the document so that the value is calculated before you echo the link. Quote Link to comment https://forums.phpfreaks.com/topic/9050-post-value-in-the-same-documment-backwards/#findComment-33281 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.