Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/07/2005, 14:55
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
las funciones las defines en un fichero, luego incluyes el fichero en otro script y puedes usar la funcion

ejemplo:

fichero: funciones
<?php
function mifuncion1($parametros)
{
}
function mifuncion2($parametros)
{
}
?>

script.php
<?php
include("funciones.php");

$x=mifuncion1(1);

?>