Solved

urgent ! problem with header information

Posted on 2006-07-02
1
255 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

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

Featured Post

Independent Software Vendors: 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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Six Sigma Control Plans

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