Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: header problem?

  1. #1
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    header problem?

    i have a php page called processreport.php that works fine. it will generate chart, bar graph, line graph or pie graph according to user selection from salesreport.php.However, later i add a button to it so that when the button is clicked, other chart and graph will displayed but i get the following error when i generate bar, line and pie graph and it works fine for the chart.
    Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\project\processreport.php:11) in C:\Program Files\JpGraph\jpgraph-1.13\src\jpgraph.php on line 6666
    Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\project\processreport.php:11) in C:\Program Files\JpGraph\jpgraph-1.13\src\jpgraph.php on line 6667
    Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\project\processreport.php:11) in C:\Program Files\JpGraph\jpgraph-1.13\src\jpgraph.php on line 6668
    Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\project\processreport.php:11) in C:\Program Files\JpGraph\jpgraph-1.13\src\jpgraph.php on line 6669
    Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\project\processreport.php:11) in C:\Program Files\JpGraph\jpgraph-1.13\src\jpgraph.php on line 6671

    this is the code that i added.
    <html>
    <head>
    </head>
    <body>
    <form name="myform" method=POST action="drill.php">
    <input type="submit" name="drillbut" value ="drill down">
    </form>
    </body>
    </html>

    could anyone tell me what's wrong with it and how to solve?

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,073
    Thanks
    11
    Thanked 96 Times in 94 Posts
    really need to see the fist few lines (at least 12) to be able to do anything but guess.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •