Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Passing URL parameter to form

New Here ,
May 17, 2006 May 17, 2006
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.
TOPICS
Server side applications
246
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 17, 2006 May 17, 2006
LATEST
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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines