Simple PHP Question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello everyone,

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

I have a new page 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!

Re: Simple PHP Question

On Jun 23, 8:40 am, wrote:
Quoted text here. Click to load it

assuming you haven't validated the field:
<?php echo htmlentities( $_POST['key'], ENT_QUOTES ); ?>

Site Timeline