This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function externalDatabaseQuery(){ | |
| $option = array(); //prevent problems | |
| $option['driver'] = 'mysql'; // Database driver name | |
| $option['host'] = 'db.yourhost.com'; // Database host name | |
| $option['user'] = 'root'; // User for database authentication | |
| $option['password'] = 'your-password'; // Password for database authentication | |
| $option['database'] = 'database-name'; // Database name | |
| $option['prefix'] = 'abc_'; // Database prefix (may be empty) |