![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
17/10/2005, 11:33
|
| | Fecha de Ingreso: marzo-2005
Mensajes: 49
Antigüedad: 19 años, 11 meses Puntos: 2 | |
Problema con icluide tengo una libreria php asi:
<?php
function fun_top($sec)
{
echo "<div id='top'><h1>$sec</h1></div>";
}
?>
y lo incluyo en otro php asi:
<?php
include ("php/clase_top.php");?>
<? $sec="Mi web";
echo fun_top ("$sec");?>
y me larga este error:
Fatal error: Call to undefined function: fun_top() in /home/public_html/inicio/index.php on line 41 |