![]() |
|
|
#1
|
||
|
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? |
|
|
|
||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is Virtual (Shared) Web Hosting? | asp | Web Hosting Forum | 9 | 05-23-2008 02:20 |
| Include php into Html | admans | Domain Name Forum | 2 | 07-28-2005 12:23 |