title: Check if variable starts with 'http'
body: <p>I'm sure this is a simple solution, just haven't found exactly what I needed.</p>
  
  <p>Using php, i have a variable $source. I wanna check if $source starts with 'http'. </p>
  
  <pre><code>if ($source starts with 'http') {
   $source = "&lt;a href='$source'&gt;$source&lt;/a&gt;";
  }
  </code></pre>
  
  <p>Thanks!</p>