I have a file, mysql.php, that connects to the database. However, I have other files that use mysql.php that are also included in more files that also have mysql.php included.
IE:
index.php -> has mysql.php and config.php
config.php also has mysql.php
I'm getting an error when using mysql functions. Is there a way to only include once in php?
Include once??
Started by Chan, Feb 10 2007 09:40 AM
2 replies to this topic


Sign In
Create Account


Back to top









