urgent ! problem with header information

this code


$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)
(nab1, na12, nab3,nab4)");

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
Who is Participating?
mish33Connect With a Mentor Commented:
Make <?php first line of insert.php
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.