Strange problem

Hi, I have a really strange problem.

I have a very simple function, like the one below

function testme(){
return(“a string”);

that is included from a include file db.php.

When I try to use the function by a echo(testme()); it just seem to crash the whole thing, as nothing from this point and beyond is being outputed. Which is strange. And then, if I move the exact same function into another inlcude file include.php, then suddenly everything works fine… Why???

The file that calls the testme function includes the files via the following code:


Can anyone please help me here? I am totaly lost… :frowning:

Hi there,

Put error_reporting(E_ALL); at the top of the file with the include lines in it. This will show up any errors that may be stopping output.

Sponsor our Newsletter | Privacy Policy | Terms of Service