I thought if I used include_once, even if a file is included more than once, it will only actually be included once. However, I have a file with all the database functions for the website in one file, and sometimes I have included it twice, and I get this error:
Fatal error: Cannot redeclare (function name here, the first function in the file).
So if you include a file that has functions in it, then include_once won't work, or what is going on here?
I am pretty sure I didn't get this error in PHP4, but I am getting the site ready to upgrade to PHP 5, and now I get these errors.