PDA

View Full Version : Passing information upon submission of an update form


Cblockus
03-04-2012, 03:29 AM
Hi everyone,

I was hoping someone could help me with an issue I'm having with cs4 and php/MySQL. I've created an update record form using the update record behavior. The form method is POST (as I'm fairly sure it must be). Upon submission, I'd like to redirect to another page and pass on an Id variable. Using the dreamweaver update behavior, I've specified the correct redirect page and identified the dynamic parameters to be passed on.

When I put the page into action, it redirects properly, but I can't seem to retrieve the variable. I can't tell if it's not being passed or I'm just not retrieving it properly. Has anyone had success doing this, and if so, how do I retrieve the variable?

If it helps, the URL of the update form is and the variable I'm trying to pass on is Character_ID. The pages are still experimental, so forgive the mess :)

Thanks in advance!

-CB

edbr
03-05-2012, 02:32 AM
maybe use a hidden field that collects the data and pass it a s a $_post variable