How do I allow a function to access a database connection without using GLOBAL?
config.php
DEFINE (\'DB_HOSTNAME\', \'hostname\'); DEFINE (\'DB_DAT
Use function parameters
function something ($dbc) { // your db code here }
function arguments