INTEGRACION DE PHP Y HTML...SERA QUE SE PUEDE...???
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.
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.
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
<?
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