At 22.06.2001 11:23, you wrote:
>I tried but to no avail, I was trying to
>send the header to redirect if the password in the input box matches the
>database password but it kept saying that the header was already sent.. I
>tried Javascript aswell, doing a location.href = "URL" within the "if"
>statement.
this is not a db issue, when you are using the header() function it has to
be the
first output sent back to the user, ie. no blank spaces before the <?(php)
and no
echo's etc.
Check that first, and if that doesn't help, try pasting the code so we can
try to
see the bug... (code is always good when you run into trouble).
--
Andreas D Landmark / noXtension
Real Time, adj.:
Here and now, as opposed to fake time, which only occurs there
and then.
--
PHP Database 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]