you sould write <?php echo $url; ?> in html not directly $url