Hello,
I have just created my first function which I am using to connect to the MySQL database. I have the function set up correctly and working fine...however....
I have just started to organise my pages and put them into organised folders so it's easier to find them....e.g Search Pages, Input Pages, Update Pages etc etc...
My problem is this....
When I move my files into other folders the function doesn't work anymore....it gives me this error
[/b]
/UNWED is the root folder of my web page.... I have changed the browers line in the code to look for the function in the correct place but this still doesn't work. I've also tried hard coding the connect back into the code and it works fine...
Why does it not work when the file is in another folder???
I'm running LAMP if it helps...
Any help b much appriciated....
I have just created my first function which I am using to connect to the MySQL database. I have the function set up correctly and working fine...however....
I have just started to organise my pages and put them into organised folders so it's easier to find them....e.g Search Pages, Input Pages, Update Pages etc etc...
My problem is this....
When I move my files into other folders the function doesn't work anymore....it gives me this error
Code:
[b]
Warning: Failed opening '/UNWED/functions/connectfunct.php' for inclusion (include_path='.:/usr/share/pear') in /var/[URL unfurl="true"]www/html/UNWED/Search/viewallusers.php[/URL] on line 13
/UNWED is the root folder of my web page.... I have changed the browers line in the code to look for the function in the correct place but this still doesn't work. I've also tried hard coding the connect back into the code and it works fine...
Why does it not work when the file is in another folder???
I'm running LAMP if it helps...
Any help b much appriciated....