Hello everyone, hope everybody is doing well and if anyone can help me with the script i would be very grateful. This is project i've been set for University and its a simple form for students to fill out and the information goes into a database and a tutor can access the database and retrieve any information passed to it. So reasonably simple but for some reason i when i hit submit on Safari and firefox the information inputed into the form is not reflected back to the user but it is in Internet Explorer. Is there anything wrong with my script or is it a browser setting. I'm just very confused as it seems to work fine for one browser but not for another. The script is below(included HTML as did'nt know if that has anything to do with it) any ideas or solutions are greatly received.
<head>
<title>feedbackconfirmation</title>
<meta name="generator" content="BBEdit 9.3" />
</head>
<body>
<h1>Feedback Confirmation</h1>
<p>Thank you for taking the time to fill in the form. The information below will be
passed to the tutors.</p>
<div class="articles">
<?php
$firstname = $_POST["firstname"];
$lastname = $_POST["lastname"];
$dob = $_POST["dob"];
$comments = $_POST["comments"];
$module = $_POST["module"];
$session = $_POST["session"];
// Print the content of the PHP variables back to the user
print "<br /><br />First name is>><strong><b> $firstname</b></strong>\n";
print "<br />Last name is>><strong><b> $lastname</b></strong>\n";
print "<br />Date of birth is>><strong><b> $dob</b></strong>\n";
print "<br />Your comments are>><strong><b> $comments</b></strong>\n";
print "<br />Your module is>><strong><b> $module</b></strong>\n";
print "<br />You selected>><strong><b> $session</b></strong>\n";
print "<br /><br />";
$dbserverIP="localhost";
$dbusername="buddaman_woody";
$dbuserpassword="PASSWORD";
$connection=mysql_connect($dbserverIP,$dbusername,$dbuserpassword)or die("Couldn't connect to the dbserver.");
$dbname="buddaman_classlist";
$dbselectok=mysql_select_db($dbname,$connection) or die("Couldn't select the remote database.");
$sqlstatement="INSERT INTO classlist VALUES ('$firstname','$lastname','$dob','$comments','$module','$session')";
$sql_result=mysql_query($sqlstatement,$connection)or die("Couldn't execute the SQL SELECT statement 1");
$sqlstatement = "SELECT * FROM classlist";
$sql_result = mysql_query($sqlstatement,$connection) or die("Couldn't execute the SQL SELECT statement 2");
?></div>
<p> Thank you </p>
<a href="FirstPage1.htm">Back to Homepage</a>
Thank you all for any suggestions in advance.
<head>
<title>feedbackconfirmation</title>
<meta name="generator" content="BBEdit 9.3" />
</head>
<body>
<h1>Feedback Confirmation</h1>
<p>Thank you for taking the time to fill in the form. The information below will be
passed to the tutors.</p>
<div class="articles">
<?php
$firstname = $_POST["firstname"];
$lastname = $_POST["lastname"];
$dob = $_POST["dob"];
$comments = $_POST["comments"];
$module = $_POST["module"];
$session = $_POST["session"];
// Print the content of the PHP variables back to the user
print "<br /><br />First name is>><strong><b> $firstname</b></strong>\n";
print "<br />Last name is>><strong><b> $lastname</b></strong>\n";
print "<br />Date of birth is>><strong><b> $dob</b></strong>\n";
print "<br />Your comments are>><strong><b> $comments</b></strong>\n";
print "<br />Your module is>><strong><b> $module</b></strong>\n";
print "<br />You selected>><strong><b> $session</b></strong>\n";
print "<br /><br />";
$dbserverIP="localhost";
$dbusername="buddaman_woody";
$dbuserpassword="PASSWORD";
$connection=mysql_connect($dbserverIP,$dbusername,$dbuserpassword)or die("Couldn't connect to the dbserver.");
$dbname="buddaman_classlist";
$dbselectok=mysql_select_db($dbname,$connection) or die("Couldn't select the remote database.");
$sqlstatement="INSERT INTO classlist VALUES ('$firstname','$lastname','$dob','$comments','$module','$session')";
$sql_result=mysql_query($sqlstatement,$connection)or die("Couldn't execute the SQL SELECT statement 1");
$sqlstatement = "SELECT * FROM classlist";
$sql_result = mysql_query($sqlstatement,$connection) or die("Couldn't execute the SQL SELECT statement 2");
?></div>
<p> Thank you </p>
<a href="FirstPage1.htm">Back to Homepage</a>
Thank you all for any suggestions in advance.