Posted: Tue Oct 10, 2006 6:57 pm
To answer your headers sent error message, you cannot use header() if you have already sent something to the browser (even a blank space will cause this). You can use output buffering, but that is a band-aid approach in my opinion.
the trick is to take your form data, validate it, then assign it (or assign/validate) then put it into use. header() when you are done, but only before sending content to the browser.
the trick is to take your form data, validate it, then assign it (or assign/validate) then put it into use. header() when you are done, but only before sending content to the browser.