I noticed that none of my functions in the func_database file are working... does it have to do with my file structure?
The page, lets call it page.php has an include statement:
include("../func_base.php");
which contains two lines:
include("func_database.php");
include("func_validation.php");
now, if I run a file from the same directory as func_base.php, then my include in that page is:
include("func_base.php");
and everything works fine... from a page outside the directory and using:
include("../func_base.php");
not fine. But the functions in func_database.php are being called, and the query that is being used by mysql_query() is a valid query - but it just returns and invalid mysql resource every time... ????
Is there some lame rule here I don't know about and is there a way around it or what?
Thanks for your time,
Ben