Thanks for replying.

To explain further, I think the problem is how dreamweaver is processing the
Update Record behavior.  The part of the code that is affected here is as
follows:

$updateGoTo = "notessetup.php";

  if (isset($_SERVER['QUERY_STRING'])) {

    $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";

    $updateGoTo .= $_SERVER['QUERY_STRING'];

  }

  header(sprintf("Location: %s", $updateGoTo));

}

 

As you can see, there isn't a parameter listed for the $updateGoTo variable,
so that is why I am confused.

 

 

Ken Clay 



 

i'm not sure if i understand, but i think u can try using
header("location:notessetup.php");
i supose u'r using something like history.back.

hth
toto
----- Original Message ----- 
From: ken264usd 
To: [EMAIL PROTECTED] <mailto:php_mysql%40yahoogroups.com> ps.com 
Sent: Wednesday, December 13, 2006 9:07 PM
Subject: [php_mysql] Redirect file after updating form.

Recent Activity
a.. 8New Members
Visit Your Group 
SPONSORED LINKS
a.. Database driven web site 
b.. Apache php mysql 
c.. Php mysql 
d.. Php mysql tutorial 
e.. Php mysql developer 
Y! Messenger
Talk it up - free!

Call your friends

worldwide - free!

Yahoo! Mail
Drag & drop

With the all-new

Yahoo! Mail Beta

Need traffic?
Drive customers

With search ads

on Yahoo!
. 
Hello,
There is probably a easy answer for this, but I am still learning!
I have two pages. notessetup.php has a link to point to the second 
page ie:
notes.php?recordID=<?php echo $row_rs1['id']; ?>
Notes.php has an update form on it. When the form is updated, it is 
redirected back to but it keeps adding the parameter 
after the page (notessetup.php?recordID=305).

Is there a way to keep the parameter off when the page is redirected 
back? I don't want notessetup.php filtered when the user goes back to 
that page.

I use Dreamweaver as my editor.

Thanks for looking at my post!

Messages in this topic (1) Reply (via web post) | Start a new topic 
Messages | Files | Photos | Links | Database | Polls | Members | Calendar 
The php_mysql group is dedicated to learn more about the PHP/MySQL web
database possibilities through group learning. 

Change settings via the Web (Yahoo! ID required) 
Change settings via email: Switch delivery to Daily Digest | Switch format
to Traditional 
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe 

[Non-text portions of this message have been removed]

 



[Non-text portions of this message have been removed]

Reply via email to