php search script problem

hello

I have a problem with php mysql search script.
The script works great, only the inability to link results from

script looks like this:

Search:
<?php mysql_connect ("localhost", "user","pass") or die (mysql_error()); mysql_select_db ("name"); $term = $_POST['term']; $sql = mysql_query("select * from radio where titel like '%$term%'"); while ($row = mysql_fetch_array($sql)){ echo 'ID: '.$row['ID']; echo '
Radio '.$row['titel']; echo '
'.$row['grad']; echo '
'.$row['Beschrijving']; echo '

'; } ?>

I have to link the result with a link:
Radio ‘. $ row [’ titel '] </ a>

help!!!

regards

[php]

<?php mysql_connect ("localhost", "user","pass") or die (mysql_error()); mysql_select_db ("name"); $term = $_POST['term']; $sql = mysql_query("select * from radio where titel like '%$term%'"); while ($row = mysql_fetch_array($sql)){ $id =$row['ID']; $titel = $row['titel']; $grad = $row['grad']; $beshrijving = $row['Beschrijving']; echo "Radio " . $titel .""; } [/php]
Sponsor our Newsletter | Privacy Policy | Terms of Service