Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/09/2007, 15:43
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Cambiar una url dependiendo una variable

mmm pues solo ponlo en el href:
Código PHP:
while ($fila = mysql_fetch_array($resultado)) {

$men=nl2br($fila['mensaje']);

?><table border="0" width="600px" bordercolor="#dddddd"  bgcolor="#59b7d4">
    <tr>
        <td width="80" align="center"><a href='<?php echo $urlperfil?>'><?php echo ("<p><strong>" $fila['autor'] . "</STRONG>");?></a></td>
        <td><?php echo ("<p><strong>Titulo: </STRONG>" $fila['titulo'] . "");?></td>
    </tr>
    <tr>
        <td width="80" valign="middle" bgcolor="#FFFFFF">
        <p align="center"><img border="0" src="sinimagen.jpg" width="50" height="50"></td>
        <td rowspan="2" valign="middle" bgcolor="#FFFFFF">
        <p><?php echo ("$men");?></td>
    </tr>

</table><br>
Saludos.