macromedia.dreamweaver.appdev
[Top] [All Lists]

Not redirecting with header() command

Subject: Not redirecting with header() command
From: "Murray *ACE*"
Date: Thu, 1 May 2008 18:09:32 -0400
Newsgroups: macromedia.dreamweaver.appdev


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
==================



<Prev in Thread] Current Thread [Next in Thread>