while ($sonuc = mysql_fetch_array(mysql_query($sql))) { 
echo '<a href=\"/'.$sonuc["title"].'/\"> '.$sonuc["title"].' </a><br>'  ; 
}
Denemedim kafam bir milyon hata olabilir.