Augusto Cesar Castoldi [[EMAIL PROTECTED]] wrote:
> 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?
Notice my ^'s above - you are already defining $ID in your
function declaration. You can't do that *and* declare $ID as
a global.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
>
> regards,
>
> Augusto Cesar Castoldi
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]