function --> global variables

From: Date: Mon, 05 Mar 2001 22:37:01 +0000
Subject: function --> global variables
Groups: php.general 
Request: Send a blank email to php-general+get-42682@lists.php.net to get a copy of this message
I have a html form and his "action" is a php file. this is the php file: ________________________________ function checasenha($ID) { $as="\""; global $ID, $limite, $cdusuario, $usuario, $senha; . . . } checasenha($ID); -------------------------------------- Warning: Variable used in global statement already exists in the function in /home/httpd/html/fiesc_sessao/checa_senha.php3 on line 13 The "line 13" is "global $ID, $limite....." What's could be the problem? regards, Augusto Cesar Castoldi

« previous php.general (#42682) next »