Ver Mensaje Individual
  #8 (permalink)  
Antiguo 09/01/2013, 14:43
Avatar de pateketrueke
pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años
Puntos: 2534
Respuesta: Suma de resultados if

Aunque de hecho si se podría, siempre y cuando los includes hagan uso de return.

a.php
Código PHP:
return 123
b.php
Código PHP:
return 456
Entonces:
Código PHP:
$a = include('a.php');
$b = include('b.php');

echo 
$a $b// 579 
__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.