Solved

urgent ! problem with header information

Posted on 2006-07-02
1
250 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
Comment Utility
Make <?php first line of insert.php
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A short article about a problem I had getting the GPS LocationListener working.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

16 Experts available now in Live!

Get 1:1 Help Now