Hmm... I need to find out myself. I don't know what is the answer to your question. I'll do some Googling and get back to you if I find an answer. You should email the people at iPage as they probably can help you..
Hmm, I see what you mean. I have an idea or two, but they may be wrong..
This looks like a job for.
I just realized something. You have to go to this page and fill in the short form before the editlisting.php page(the one that won't validate) will even display. If you go directly to editlisting.php it will just show a blank page. I opened "view source" and heres all it shows....
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">.
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>.
And I didn't write any of it..
Maybe this is just a page that will not validate properly by it's own nature. If you use the first form to get to it then it will display properly and show the correct html code, and also validate. You can use this form to get to editlisting....
Use these to fill in the form....
Homeid - 1.
Username - derek02.
Password - boomerang.
Hit submit and it will display the editlisting.php page properly. Now that I think about it, this is more of a php issue than a validation/html issue. How about it you php guys, will this form ever be able to validate as is?..
I can hear scoutt now-"Oh no, not another php question."..
Yes, it's php related. I just found the problem. I had the form html inside an "if" statement. This caused the php to not parse the html when the first login page was not used to access the form. A simple cut and paste fixed the problem- I just moved the php stuff from the bottom to just above the start of the form. Sorry to have put you on the spot giz. I've been asking so many questions in the php forum that I hoped I could give scoutt a break for tonight...
No problem. Glad you spotted it..
I am glad for you, that you take the time to check your pages out for "silly errors" like that as there is no knowing what untold woe that could cause in someones browser. If it validates, you now have a page that will work in the widest range of browsers possible..
Too many people take the attitude that they just throw some code together, upload it, and if it looks good in their browser then they do no further checking of it all.... and those same people probably complain about buggy software, but they are usualy the ones writing buggy webpages and not caring about that...
Oh yeah, and stuff like that would probably confuse search engine spiders so much, such that they abandon indexing your site. Yet another good reason why you spent time fixing it!..
I really hate what I have to say but I have to agree with giz on that one..
Don't worry about asking php questions, I love them, keep them coming..
Just remember one thing, php is dynamic and html isn't. so if you can keep the html seperate from you php, well to a point that is, you will be better off. don't do what you just did and put it in a condition so if that condition is meet then the html runs..
Php will write headers if the page doesn't do anything, like you have seen. your result page is from php and you said you didn't write anything, well php does that, but never rely on it if you want the validator to validate...
Lesson # 12348324374373743737:.
Don't use html inside php if statements if you want it to validate...