Hi,
Thank you for your reply.
The code with the include and header statement as follows:
<?
include 'icebreakers_pword.php';
//db connection
$connection=mysql_connect ("localhost", $username, $pass) or die ("Cannot connect to the database at this time. Please go back and try again.");
$db= mysql_select_db ("wordjuxtapoz", $connection) or die ("Couldn't select database. Please go back and try again.");
$date = date('Y-m-d');
//sql statement
$sql = "INSERT INTO test (id,email,realname,country,age,date) VALUES ( ' ', '$email', '$realname', '$country', '$age', '$date')";
//sql query
$sql_result=mysql_query($sql,$connection) or die ("Cannot process your request. Please go back and try again");
//chk result
if (!$sql_result)
{
die ("Sorry, I cannot add you to my database. Please go back and try again.");
}
header("Location: download.html");
?>