The code you are posting looks right The bottom part you posted at the end where you moved the quote marks is wrong.
The part of the error you are showing us indicated that there is nothing in the username and password variables which would mean the problem is in the dbcreds.php like I said earlier.
I have sent you a pm.
.
__________________
All cookies cleared!
|