?
Solved

urgent ! problem with header information

Posted on 2006-07-02
1
Medium Priority
?
258 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 800 total points
ID: 17027136
Make <?php first line of insert.php
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
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…
Loops Section Overview

850 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