Hai imran,
maybe you can add ob_start( ) at the top of your script :
<?php
/*
ob_start( )
// your script
*/
?>
I used that everytime I have the "already sent..." problems :)
Jodi
imran shafiq wrote:
>Dear Experts
>I am facing following error in my PHP code
>Warning : header("Location:first.php); already send at
>line no. .....
>for example:
>if(a==0&&b==99)
>{
> header("Location:first.php);
> exit;
>}
>else
>{
> if(c<50||d>70)
> {
> header("Location:second.php);
> exit;
> }
> elseif(c>50||d<70)
> {
> header("Location:first.php);
> exit;
> }
> else
> {
> header("Location:first.php);
> exit;
> }
>}
> I am waiting for your responce
>Imran shafiq
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~->
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/