Forum Moderators: coopster
$connection = mysql_connect($host,$user,$pass) or die (mysql_errno().": ".mysql_error()."<BR>");
mysql_select_db($dbname);
$sql = 'SELECT * FROM tripreport';
$result = mysql_query($sql) or die ('<p>select died: ' . mysql_error());
echo '<p><center><strong>Trip Reports</strong></center><br>';
while ($row = mysql_fetch_array($result)) {
echo '<div><strong><a href="report.php?trip=',$row['trip_id'],'">',$row['triplocation'],'</a></strong> - ',$row['TSpickMonth'],' ',$row['TSpickDay'],', ',$row['TSpickYear'],'<br>';
}
echo '<br>';
echo '<A href="javascript:history.back(1)">
Back</A>';
?>
what steps are taken?
click to enter new trip form (does this come from the list page?)
hit submit
you insert the new row and redirect to the list?
do you use the header function?
is this IE? could just be it's idiotic preference to not reload pages, maybe a no cache meta header might help?