[PHP] php form mail - checkbox problem

2002-10-29 Thread Tine
: http://komposlo.inmono.net/m_skap.html Help is very much appreciated! Thanks in advance, Tine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php form mail - checkbox problem

2002-10-29 Thread Tine
: input type=checkbox name=items[] value=hovedmedlemskap hovedmedlemskap [200 kr.] input type=checkbox name=items[] value=2 i husholdning 2 eller flere i samme husholdning [100 kr.] Tried that, same same. Still not working :oO - Original Message - From: Tine [EMAIL PROTECTED

Re: [PHP] php form mail - checkbox problem

2002-10-29 Thread Tine
Please don't answer with Tried that without showing us your new HTML and code Show us the new code. Sorry - found my mistake. I had forgotten to include a hidden input field :oO -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] .inc files doubles up

2002-10-29 Thread Tine
This is really my first major PHP encounter, and I have attempted to modify a php form mail script to include a foot.inc and head.inc file, which works fine if all required fields in the form is filled out. But if there are more than 2 required fields missing I end up with what you see here:

[PHP] Re: .inc files doubles up

2002-10-29 Thread Tine
Tine [EMAIL PROTECTED] wrote in message news:20021029171957.30722.qmail;pb1.pair.com... This is really my first major PHP encounter, and I have attempted to modify a php form mail script to include a foot.inc and head.inc file, which works fine if all required fields in the form is filled out

Re: [PHP] Re: .inc files doubles up

2002-10-29 Thread Tine
Martin Hudec [EMAIL PROTECTED] wrote in message news:18910327021.20021029184135;corwin.sk... Hello Tine, it looks okay to me butlooks like you have met two conditions at time ($sted == ) and ($telefon == 0)why dont u make something like this? if (empty($sted) || empty($telefon

Re: [PHP] Re: .inc files doubles up

2002-10-29 Thread Tine
Martin Hudec [EMAIL PROTECTED] wrote in message news:18910327021.20021029184135;corwin.sk... Hello Tine, it looks okay to me butlooks like you have met two conditions at time ($sted == ) and ($telefon == 0)why dont u make something like this? if (empty($sted) || empty($telefon