Jump to content

[SOLVED] Outputting from $_POST


Omzy

Recommended Posts

I have a form which captures customer's details, such as Name, Address, Date of Birth, etc, and then displays them back to the user (and sends me an email with the details) upon submission, as follows:

 

foreach($_POST as $key => $value)
{
echo "$key : $value";
}

 

This works fine for me, but I have now split up the Date of Birth field into 3 seperate fields - Day, Month, Year. But I still want it to be output as one field (Date of Birth) at the end.

 

Because I'm outputting $_POST this is proving to be difficult. Can anyone help?

Link to comment
https://forums.phpfreaks.com/topic/177131-solved-outputting-from-_post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.