Problem with data-url

<?php $link = ""; ?>

I want to make a tweet button. Like …url-data="<?php echo $link ?>". The twitter $_GET url is the same as if I would to set url-data=“”. However, when the url-data is “<?php echo $link ?>”, it does not show the link( in the area where the twitter user is going to tweet about…


Fixed it ish… You can put the <?php echo $link?> code in the data-text attribute


Is there a way to do this using javascript?

closed #4