I tried it, but it doesn't work. Any ideas? Thanks. Here is what I have:
mysql_connect("mysql","username","password");
mysql_select_db("ims_search");
$name=$_GET['id'];
$result = mysql_query("SELECT * FROM artist WHERE artist_name LIKE '$name%' order by artist_dts desc limit 8");
//grab all the content
while($r=mysql_fetch_array($result))
{
$artist_name=$r["artist_name"];
$unwanted=array(0=>"'", 1=>" ");
$clean=str_replace($unwanted,"",*$username);
//display the row
echo "<FONT size=4><center><a href='/$clean'>$artist_name</center></a>";
}
?>