Here is the code:
$vote_up = '<a href="<?php amc_comment_vote("up") ?>">Vote Up</a>';
I am simply trying to have my PHP function insert a link that has a line of PHP as the href
. But it does not work right. How can I do this?
Quick update: I got some good answers, however I'd like for the function to fire when clicked (hence the need for the <?php
tags).