Placing PHP Variable in URL
<p>I am trying to pass a variable (in this case an IP variable of the user) into a url so when it is displayed on the web it is an automatic link. Below is the code I have and I'm getting an error. Seeking PHP Guru to help a n00b.</p>

<pre><code>$user_tracking_vars = "&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Browser and Operating System:&lt;/strong&gt; ".$browser."&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;IP:&lt;/strong&gt; &lt;a href=""http://urbangiraffe.com/map/?ip=".$ip."&amp;from=drainhole""&gt;".$ip."&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Page Visited Before Contact Form:&lt;/strong&gt; ".$referred."&lt;br /&gt;";
</code></pre>
