enlace - Crea un enlace
enlace( string $url [, string $texto = '' [, string $atributos = NULL ]] ) : string
Crea un enlace html <a>
$url
$texto
$atributos
Devuelve un valor string con el enlace creado.
Ejemplo #1 de enlace()
<?php
echo enlace('https://www.webyplus.com','Ir a Webyplus','target="_blank"')
?>
El resultado del ejemplo sería:
<a href="https://www.webyplus.com" target="_blank">Ir a Webyplus</a>