Hello, (Using Dreamweaver UltraDev 4, PHAkt 1.1)
How can I stop form variables from being passed beyond the 1st page they were passed to?
I have a page which displays several records in a repeat region "results.php". Each record/region has it's own form for passing variables to an UPDATE record page.
i.e.:
mydomain.com/directory/update_item.php?manufacturer=1&core_id=25&select=7
The UPDATE page is a PHAkt 1.1 Update Record server behaviour. It consists of a hidden form which gets it's values from the above URL and auto-submits on page-load. When the record is updated it's supposed to redirect to the URL:
mydomain.com/directory/results.php?manufacturer=1
The line in the code is:
$MM_editRedirectUrl = "/directory/results.php?manufacturer=$manufacturer";
But instead when it goes to that URL, all the variables are still attached like below:
mydomain.com/directory/results.php?manufacturer=1&manufacturer=1&core_id=25&select=7
Note the repeated "manufacturer=1"
I don't know why the variables are still attached to the redirect URL or how to stop them from appearing. Can someone explain this to me, or tell me how to stop
this from happening?
Thanks!
Peter