Skip to main content
Participant
May 17, 2006
Question

Passing URL parameter to form

Hi, i'm currently building a back-end for a small site. What i'm trying to do is enable a user to edit and update an article. I've got a dynamic table, i'm trying to use a URL form parameter to pass the unique ID of an article to a form that brings up the article for editing, but its not working, its just bringing up the same record whatever link is clicked in the dynamic table. Can somebody point out whats missing? I'm using PHP & mySQL.

Thanks, any help appreciated.
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
May 17, 2006
You don't specify what language you're using, or how you're populating your
form.

If you're using a recordset to populate your form, simply edit it and then
set the filter to your ID field, and use the URL parameter to capture your
variable. Make sure in your recordset for your page to display the records
you put the same variable name as you use on your previous page with the url
variable.

HTH,

Jon

"MarkAD88" <webforumsuser@macromedia.com> wrote in message
news:e4f5s9$4l$1@forums.macromedia.com...
> Hi, i'm currently building a back-end for a small site. What i'm trying to
> do
> is enable a user to edit and update an article. I've got a dynamic table,
> i'm
> trying to use a URL form parameter to pass the unique ID of an article to
> a
> form that brings up the article for editing, but its not working, its just
> bringing up the same record whatever link is clicked in the dynamic table.
> Can
> somebody point out whats missing? Thanks, any help appreciated.
>


Translate