4 Replies - 567 Views - Last Post: 20 July 2012 - 07:48 AM Rate Topic: -----

#1 IamTw_  Icon User is offline

  • D.I.C Head

Reputation: 32
  • View blog
  • Posts: 238
  • Joined: 25-February 11

Send/submit html form (Need php programmers)

Posted 20 July 2012 - 05:26 AM

Hi all

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

Is This A Good Question/Topic? 0
  • +

Replies To: Send/submit html form (Need php programmers)

#2 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1003
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: Send/submit html form (Need php programmers)

Posted 20 July 2012 - 05:48 AM

I can't post a form to see what's actually being submitted through?

I only see this popup when I click to send the email:

Quote

Returned true (Debug besked)

Was This Post Helpful? 0
  • +
  • -

#3 IamTw_  Icon User is offline

  • D.I.C Head

Reputation: 32
  • View blog
  • Posts: 238
  • Joined: 25-February 11

Re: Send/submit html form (Need php programmers)

Posted 20 July 2012 - 06:48 AM

The form is on another address, sorry. It didnt occur to me that ppl would test it :)
It's here if you wanna test

http://www.evokon.dk...neBeregner.html
Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6066
  • View blog
  • Posts: 23,526
  • Joined: 23-August 08

Re: Send/submit html form (Need php programmers)

Posted 20 July 2012 - 07:25 AM

Moved to PHP
Was This Post Helpful? 0
  • +
  • -

#5 IamTw_  Icon User is offline

  • D.I.C Head

Reputation: 32
  • View blog
  • Posts: 238
  • Joined: 25-February 11

Re: Send/submit html form (Need php programmers)

Posted 20 July 2012 - 07:48 AM

View PostJackOfAllTrades, on 20 July 2012 - 07:25 AM, said:

Moved to PHP

Sorry, that was where I meant to post it. Must have missclicked
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1