Hi
i've got this code where $row["strCode"] is a letter from a mysql database
i want to make for the letter A an url.
all the following letters dont have to have an url
<table border=1 width=100%>
<td colspan="2" align=left><strong>Legenda</strong></td></tr>';
$UrlA='<a href=www.test.com>';
$UrlB='<a href=>';
$UrlC='<a href=>';
$UrlD='<a href=>';
$UrlE='<a href=>';
$UrlF='<a href=>';
$UrlG='<a href=>';
$UrlH='<a href=>';
$UrlI='<a href=>';
$UrlJ='<a href=>';
$UrlK='<a href=>';
$UrlL='<a href=>';
$result = mssql_query($sql,$connection);
while ($row = mssql_fetch_array($result))
{
echo '<tr>';
echo '<td><p align=center>'.$row["strCode"].'</td>';
$url=$Url.$row["strCode"];
echo '<td><p align=left>'.$url.'.'.$row["strCompetence"].'</a></td>';
echo '</tr>';
}
echo '</table>';
help !!
greetings Jurgen