Mr. Holmes is right, sorry for the error. --- "Elliot J. Balanza" <[EMAIL PROTECTED]> wrote: > 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. > > vamp > > "John W. Holmes" <[EMAIL PROTECTED]> escribió > en el mensaje > news:[EMAIL PROTECTED] > > From: "Marius Dascalu" > <[EMAIL PROTECTED]> > > > > > I think the error is in line: > > > > > > $query_revisa = $this->dbQuery("SELECT User, > Password, > > > Nivel FROM Admon WHERE User = '$user'"); > > > > > > PHP doesn't expand variables in single quoted > > > expressions. Try this line instead: > > > > > > $query_revisa = $this->dbQuery("SELECT User, > Password, > > > Nivel FROM Admon WHERE User = $user"); > > > > Take a look at that first line again. The string > is delimited by DOUBLE > > QUOTES. The single quotes are inside of the > string. PHP will resolve the > > variable because the string has double quotes, so > this isn't the problem. > > Sorry I can't help the OP as to what the actual > problem is, but I wanted > to > > point out this misconception. > > > > ---John Holmes... > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php