Solved

urgent ! problem with header information

Posted on 2006-07-02
1
254 Views
Last Modified: 2010-04-17
this code
<?php


$nab1=$_POST['T1'];
$nab2=$_POST['T2'];
$nab3=$_POST['T3'];
$nab4=$_POST['S1'];

$con = mysql_connect("localhost","root","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }mysql_select_db("test1", $con);

mysql_query("INSERT INTO go
(s1, s2, s3,s4)
VALUES
(nab1, na12, nab3,nab4)");
header('Location:/inde.php');


it's give me
Warning: Cannot modify header information - headers already sent by (output started at D:\public_html\insert.php:7) in D:\public_html\insert.php on line 25
0
Comment
Question by:YASAR_SAID
1 Comment
 
LVL 15

Accepted Solution

by:
mish33 earned 400 total points
ID: 17027136
Make <?php first line of insert.php
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 125
C# Error - Add Failed 12 99
Definitions and default visual studio colors 5 74
C# Windows Form Navigation - Total Beginner 9 48
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question