Instrucciones rápidas para embeber funciones y fragmentos PHP en cualquier sitio web.
<div id="resultado_creadopor"></div>
<script>
(function(){
fetch('https://puroingeniosamario.com/incrustar/piecera/creado-por.php')
.then(r => r.text())
.then(html => document.getElementById('resultado_creadopor').innerHTML = html)
.catch(() => document.getElementById('resultado_creadopor').innerHTML = 'Error al cargar el contenido');
})();
</script>