[thelist] PHP include

DAVOUD TOHIDY dtohidy at hotmail.com
Fri Aug 6 12:46:59 CDT 2010

Hi There,

I have got a quick and stupid question :)

Here it is the scenario:

I have a file called file.php
I have another file called otherfile.php

Content of otherfile.php:

if (something) {
do some stuff

Content of file.php:

else if (other thing) {
do other things

Shouldn't the above senario work? but I do get a parse error for the ELSE if.

Thanks for your input



More information about the thelist mailing list