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

2002-10-29 Thread John Nichel
Do a little debugging. The error is easy to spot.. Ok, wrote the following code, but get a parse error line 74 (last part of the code): if (empty($navn) || empty($addresse) || empty($postnummer) || empty($sted) || empty($epost)) { include("head.inc"); } <--- GET RID OF THIS! if

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) || empt

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) || empt

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

2002-10-29 Thread Martin Hudec
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)) { include header if (empty($sted)){ echo STED NOT FILLED... } if (empty($telefon)