Yes actually the same proccess in the first script works.

If i remove the $this->login(); instruction and write the instruction within
the if works also... the only thing not working is the $this->login().
"Torsten Roehr" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> "Elliot J. Balanza" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Actually you are right the problem is not in the proccess of writing to
> the
> > database, the problem is that after writing to the database it wont
"jump"
> > to the next function it wont go to login() or any other function for
this
> > matter.
>
> If $this->login() is not called then this line does not evaluate to true:
>
> if(md5($pass)==$row_revisa['Password']) {
>
> Have you printed out both values to see if they are equal?
>
> Regards, Torsten

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to