I have an html form where the values should be sent to an email once submitted. The mailing is set up, so that part works.
The problem is that, once I submit the form, I don't get all field printed, only the ones from the checkbox. As an example, I had filled in all the boxes that could be filled in, but only this is printed.
The form can be seen at www.qitoz.net. Notice that the values from the textboxes are missing.
projektForslag: on
myndighedsGodkendelse: on
hovedProjekt: on
byggeledelseOgTilsyn: on
prisOverslag: on
basement: on
kuperetGrund: on
carport:
tagterasse: on
The back-end code is php, which I am very new to.
Here is the code that I have
foreach($_POST as $key => $value ) {
echo $key . ": " . $value . "<br />";
}
How come it only prints some of the values? My intentions with this foreach loop is to print all values from the $POST array. Thanks

New Topic/Question
Reply




MultiQuote






|