Jump to content

Archived

This topic is now archived and is closed to further replies.

dragance

Post value in the same documment backwards

Recommended Posts

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.




Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.