INTEGRACION DE PHP Y HTML...SERA QUE SE PUEDE...???

GABO
11 de Abril del 2005
HOLA....
ME GUSTARIA SABER COMO HAGO PARA ISERTAR UN HIPERVINCULO EN UN CODIGO PHP, ES DECIR DENTRO DE DOS ETIQUETAS
<?PHP
<td width="159"><a href="yo.html">Opcion de Consulta </a></td>
?>

SUCEDE QUE ESTOY ELABORANDO UNA COSNSULTA Y NECESITO QUE POR CADA REGISTRO QUE ME ARROJE LA CONSULTA ME ENVIE UN HIPERVINCULO PARA LLAMAR A EL REGISTRO QUE YO SELECCIONE....SERA QUE SE PUEDE. LA VERDAD ES QUE SOY NUEVO EN ESTO.

Jes?arrillo
11 de Abril del 2005
Intenta con esto:

<?
echo "<td width='159'><a href='yo.html'>Opcion de Consulta </a></td>";
?>

Si "Opcion de consulta" fuese una variable sería:

<?
echo "<td width='159'><a href='yo.html'>".$variable." </a></td>";
?>

Atte.
Jesús C.
http://www.php-mexico.com - Fomentando el OpenSource/PHP