Create clickable URL in PHP
<p>Trying to create a clickable URL in PHP. If you visit www.wheels4rent.net/test00.html and input location and date clicking the 'quote' will take you to the list_car5.php page. At right of this page is a 'book now' button that does not work and the text hyperlink below this. problem is when clicking the text hyperlink instead of giving me the www.thrifty.co.uk URL it gives me www.wheels4rent.net/www.thrifty.co.uk URL which obviously does not display webpage. Please assist. Also i need to also create the text hyperlink within my 'book now' button instead. below is code</p>

<pre><code>$url = (string)$car-&gt;book;

echo "&lt;tr&gt;&lt;td width=200px&gt;&lt;' align='right' style='padding:1px; width:100px'&gt;&lt;b&gt;".$car-&gt;cartype."&lt;/b&gt;&lt;br&gt;".$car-&gt;carsipp."&lt;br&gt;".$car-&gt;transmission."&lt;/td&gt;&lt;td&gt;&lt;b&gt;".$car-&gt;carexample."&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&amp;pound;".$car-&gt;price."
&lt;/b&gt;&lt;br&gt;Unlimited Miles&lt;/b&gt;&lt;br&gt;&lt;a href='$url'&gt;&lt;input type='submit' name='Book Now' value='Book Now'&gt;&lt;br&gt;book now&lt;br&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;"; 
}
echo "&lt;/table&gt;";
</code></pre>
