[PHP] Re: .INC files

2005-06-01 Thread Martin Zvarik
Sorry I didnt know the post delay is that LONG... On 5/31/05, Jason Barnett [EMAIL PROTECTED] wrote: Martin Zvarik wrote: Hi, I saw files like file.inc.php and file.inc What is the *.inc suffix good for ? Thank you for replies. Martin STOP SPAMMING THE LIST! .inc is

[PHP] Re: .INC files

2005-05-31 Thread Jason Barnett
Martin Zvarik wrote: Hi, I saw files like file.inc.php and file.inc What is the *.inc suffix good for ? Thank you for replies. Martin STOP SPAMMING THE LIST! .inc is just a shorthand for include files and it's just a different way of organizing code -- PHP General Mailing List

[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 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)){

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

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

[PHP] Re: .inc files

2001-11-04 Thread Jan Grafström
Hi Rudi! Check out this example from Hotscripts. http://www.hotscripts.com/cgi-bin/dload.cgi?ID=12367 Regards Jan Grafstrom Rudi Ahlers [EMAIL PROTECTED] skrev i meddelandet 008401c16534$dcb77580$0c00a8c0@camelot">news:008401c16534$dcb77580$0c00a8c0@camelot... Hi I was wondering, is there a