Solved

urgent ! problem with header information

Posted on 2006-07-02
1
251 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is about my first experience with programming Arduino.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now