
May 10th, 2007, 21:42
|
|
Junior Member
|
|
Join Date: May 2007
Location: britain
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
Re: Login Script problems
Quote:
Originally Posted by Donny Bahama
OK, so now you're down to standard debugging stuff. Here's how I do that...
1. Comment out any line that redirects. Just before that line, insert an echo line that says, "Redirecting to [someotherpage. php]"
2. Right after any open curly brace, insert a new line with an echo that says "if you're reading this, that must mean....."
3. As necessary, insert lines to echo the values of the vars you're working with.
hth
|
thank you for your help
i have now finally debugged it and it works fine
|