note 54434 added to control-structures
| From: | anllury at yahoo dot es | Date: | Mon, 04 Jul 2005 15:49:44 +0000 |
| Subject: | note 54434 added to control-structures | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91427@lists.php.net to get a copy of this message | ||
Hola, alguien porfavor me podría ayudar con este codigo, he migrado de php4 a php5 y no se si el
error que manda es por la migracion o por programacion, resulta que tengo una calculadora que consta
de 3 paginas phps, la primncipal tiene un script php que llama a las otras paginas, la funcion
validacion es una funcion dentro de funciones.php, las variables dia, mes, año, si, tiempo, trab y
salario estan declaradas en el archivo datos.php
<?
include "funciones.php";
if ((validacion(array($dia, $mes, $año,$si,$tiempo,$trab))) && ($salario != 0))
{ include "resultados.php";
}
else
{ include "datos.php";
}
?>
el error que manda es Undefined variable dia, mes, año, si, tiempo, trab y salario en la pagina
no se que hacer porfavor ayuda urgente.
----
Manual Page -- http://www.php.net/manual/en/control-structures.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54434
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54434&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54434&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54434&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54434&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54434&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54434&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54434&report=yes
Search -- http://master.php.net/manage/user-notes.php