Reputation: 175
I got to add a parameter such as $this->rock['link']; in a url.
<a href="<? "http://iguang.tw/?from=service&mail=$this->mail['link']?>">
It didn't work.
Upvotes: 0
Views: 86
Reputation: 73
Try this you need to echo the php var
<a href="http://iguang.tw/?from=service&mail=<? Php echo $this->mail['link']?>">link </a>
Upvotes: 0
Reputation: 530
You question misses too many details, but the task is trivial anyway. Try:
<a href="<?php echo "http://iguang.tw/?from=service&mail={$this->mail['link']}"?>">
Upvotes: 2
Reputation: 4331
<a href="http://iguang.tw/?from=service&mail=<?php echo $this->mail['link'];?>">
Upvotes: 1