title: How can I encrypt a PHP variable (a link)?
body: <p>I need help encoding a link. Basically, upon completion of an event, I run a function that redirects the user to a link. The link is taken directly from a PHP variable.</p>
  
  <pre><code>&lt;?php 
  
  $url = "http://google.com/";
  $mylink = "&lt;a href=\"" . $url . "\"&gt;";
  
  echo $mylink;
  
  ?&gt;
  </code></pre>
  
  <p>My question is, how can I echo $mylink, without having the $url shown in the source code. I want the output of my link to still go to $url, but not show the value of $url ANYWHERE in my source code.</p>
  
  <p>How can I achieve this?</p>