fork download
  1. <?php
  2. $id = 3;
  3. $link = '1. <a href="http://e...content-available-to-author-only...e.com/landing_page2?id=' .$id. '"><img src="http://e...content-available-to-author-only...e.com/admin/img/example_Logo.jpg?id=' .$id. '"></a>
  4.  
  5.  
  6. 2. <iframe frameborder="0" width="270" height="270" src="http://w...content-available-to-author-only...e.com/partnerwidget/pid.php?id=' .$id. '"></iframe>' ;
  7.  
  8. $link = preg_replace('#(\r\n?|\n)+#', '<br>$1', $link);
  9. echo $link;
  10. ?>
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
1. <a href="http://e...content-available-to-author-only...e.com/landing_page2?id=3"><img src="http://e...content-available-to-author-only...e.com/admin/img/example_Logo.jpg?id=3"></a><br>
2. <iframe frameborder="0" width="270" height="270" src="http://w...content-available-to-author-only...e.com/partnerwidget/pid.php?id=3"></iframe>