Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/03/2005, 01:34
Shantic
 
Fecha de Ingreso: julio-2004
Ubicación: Puerto Vallarta, Jalisco, Mexico
Mensajes: 186
Antigüedad: 19 años, 9 meses
Puntos: 0
No entiendo muy bien tu pregunta, pero has probado con un if? mas o menos algo asi ( no lo he probado)

Código PHP:
$_pagi_sql = ("SELECT *FROM tabla where estado = '1' and control = '1'");
while ($row = mysql_fetch_array($_pagi_result ) )
{
$titulo = $row[titulo];
echo "<table>
<tr>
<?php if ($tuvar "loquesea"") {?>

<td a href=\"http://www.lapagina.com/presenta.php?idc=$idc\"><img src="
ruta/imagen.jpg">$titulo</a></td>

<?php } else {  ?>
<td a href=\"http://www.lapagina.com/presenta.php?idc=$idc\">$titulo</a></td>
<?php } ?>

</tr>
</table>"
;
}
Shanti Castillo G.
__________________
Shanti Castillo G.