Simple PHP Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pwebbiz@gmail.com

    #1

    Simple PHP Question

    Hello everyone,

    I am relatively new to PHP and I use DreamWeaver to program it.

    I have a new page http://mmw.the-nl.net On that form I have 2 hidden
    fields. One is a PKEY and the other a datestamp. On submit it posts
    the information into the database and displays the 'success' page.

    What I want to do is on the 'success' page I want it to display the
    PKEY (record number) of the submitted form.

    Can anyone suggest a way to do this?

    Thank you!

  • shimmyshack

    #2
    Re: Simple PHP Question

    On Jun 23, 8:40 am, pweb...@gmail.c om wrote:
    Hello everyone,
    >
    I am relatively new to PHP and I use DreamWeaver to program it.
    >
    I have a new pagehttp://mmw.the-nl.netOn that form I have 2 hidden
    fields. One is a PKEY and the other a datestamp. On submit it posts
    the information into the database and displays the 'success' page.
    >
    What I want to do is on the 'success' page I want it to display the
    PKEY (record number) of the submitted form.
    >
    Can anyone suggest a way to do this?
    >
    Thank you!
    assuming you haven't validated the field:
    <?php echo htmlentities( $_POST['key'], ENT_QUOTES ); ?>

    Comment

    Working...