Question
Not redirecting with header() command
I have this at the bottom of a code block -
if (!$error) {
mysql_select_db($database_connxxxx, $connxxxx);
$Result1 = mysql_query($updateSQL, $connxxxx) or die(mysql_error());
$updateGoTo = "items_Detail.php?ItemID=" . $itemID;
/*die($updateGoTo);*/
header("Location: " . $updateGoTo);
exit();
}
The code executes down to the header() command and leaves me with a blank
page (the exit() command). What's up with that?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
if (!$error) {
mysql_select_db($database_connxxxx, $connxxxx);
$Result1 = mysql_query($updateSQL, $connxxxx) or die(mysql_error());
$updateGoTo = "items_Detail.php?ItemID=" . $itemID;
/*die($updateGoTo);*/
header("Location: " . $updateGoTo);
exit();
}
The code executes down to the header() command and leaves me with a blank
page (the exit() command). What's up with that?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
