> Hi guys
> I have this error when I tried to use a sign-up form.
> The thing is that I use some classes for database interaction, and I
> respond by
> return "Values";
> to the functions.
> Also, in line 18 in  page.php I have this
> Header("Location: page1.php?string=value");
> The Line 363 marks the class end ?>
> Warning: Cannot add header information - headers already sent by
> started at classes/member_class.php:363) in F:\Web Applications\My
> work\site\page.php on line 18

You can't send headers after you've started sending _any_ content to the
browser. You start sending content in member_class.php on line 363.
Either correct that or look into output buffering. Bottom line, if
you're going to redirect to a new page, why do you need to display
anything? You shouldn't...

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to