Your code looks correct, but I suspect Charter is right. Check for special characters in your username and password, as that could cause problems.
Also, I'm not sure exactly what line number 21 is in your code, where you're getting the error, but try putting a die() statement in the code just about line 21 and include within the parenthesis whatever variable name is being referenced in line 21. That might give you a clue as to what the problem is.
<added>
And unless what's on line 21 is a password or other sensitive information, or the problem just leaps out at you after following my suggestion or what Charter said to do, please post the results of the die() statement. Thanks.
</added>
Last edited by vinyl-junkie; 02-05-2004 at 05:21 PM.
|