View Single Post
02-19-2008, 04:23 PM
#5
G-Sun is offline G-Sun
Status: Member
Join date: Feb 2008
Location: Norway
Expertise:
Software:
 
Posts: 101
iTrader: 0 / 0%
 

G-Sun is on a distinguished road

  Old

Thanks all!


The way that PHP evaluates conditions in this case means that "4" actually means that the check returns TRUE! Because of this, whenever the code runs, the first condition will always return TRUE and thus always run the first include.
Exactly Salathe, that was my problem. I did what you and Bradlc said and: Works!
Thanks!

..Can you explain why "4" returns true?
..the strange thing is that I believe my last code worked when I had another host..