a href
Publicado por txotas (5 intervenciones) el 29/11/2006 15:28:26
Hola tengo el siguiente problema. Soy novato en esto de php y tengo que convertir en un link el dato(s_url) que recojo de mi base de datos. benga gracias
<?php
while($row=mysql_fetch_array($result))
{
?>
<tr>
<td><span style="color:#FF0000"><?php echo $row["s_id"];?></span></td>
<td><span style="color:#FF0000"><?php echo $row["s_url"];?></span></td>
<td><span style="color:#FF0000"><?php echo $row["s_desk"];?></span></td>
<td><span style="color:#FF0000"><?php echo $row["s_updated"];?></span></td>
<td><span style="color:#FF0000"><?php echo $row["s_status"];?></span></td>
</tr>
<?php
}
mysql_free_result($result)
?>
<?php
while($row=mysql_fetch_array($result))
{
?>
<tr>
<td><span style="color:#FF0000"><?php echo $row["s_id"];?></span></td>
<td><span style="color:#FF0000"><?php echo $row["s_url"];?></span></td>
<td><span style="color:#FF0000"><?php echo $row["s_desk"];?></span></td>
<td><span style="color:#FF0000"><?php echo $row["s_updated"];?></span></td>
<td><span style="color:#FF0000"><?php echo $row["s_status"];?></span></td>
</tr>
<?php
}
mysql_free_result($result)
?>
Valora esta pregunta


0