Page 1 of 1

problen with include file

Posted: Sun Feb 29, 2004 8:53 am
by pelegk2
i have this include file :

Code: Select all

require("../myWhere.php");
for some reason when i call this function(that before was written inside the page that i call from -was working ok!)
but know when i call it i get the message that :
Fatal error: Call to undefined function: mywhere() in C:\Program Files\Apache Group\Apache2\htdocs\compliant\view_compl2.php on line 151
why?
thanks in advance
peleg

Posted: Sun Feb 29, 2004 10:41 am
by Dr Evil
Make sure:

1 you have the correct address for your included file (here you are going up one level, is this correct ?)
2 have the function properly set up in that file
3 call the correctly written function on line 151

you can also post your code here for us to look