Ver Mensaje Individual
  #8 (permalink)  
Antiguo 14/10/2005, 12:32
Avatar de DvD AdN
DvD AdN
 
Fecha de Ingreso: mayo-2005
Ubicación: Frente al monitor
Mensajes: 610
Antigüedad: 18 años, 11 meses
Puntos: 0
include, es eso, un include
Al momento de correr PHP, este mete todos los archivos que estas incluyendo en la página.

Asi

1.php
Código PHP:
include ("include.php");
include (
"include2.php"); 
include.php
Código PHP:
$variable1 "hola";
echo 
$variable1
include2.php
Código PHP:
$variable2 "como 'tas";
echo 
$variable2
sería como si el contenido de 1.php fuera
Código PHP:
$variable1 "hola";
echo 
$variable1;
$variable2 "como 'tas";
echo 
$variable2
__________________
Keep f***ing learning
Ask for f***ing help.
Use f***ing spell check.
Think about all the f***ing possibilities.