Problem with PHP Url

springmedia

New Member
Hi there guys, I seem to have a small problem with a url link inside a wordpress site.

I am using the following code to get the url from the database

<strong>W:&nbsp;</strong><?php echo '<a href=" ' . $url\ . '" target="_top" >' . $url . '</a>';?></a><br />

but this seems to be linking like

http://primarydomainname.com/$url-Value

I know this is something simple but just cant put my had to it, an ideas would be great.

Thanks

Rich
 
Top