I can echo the variables from my require_once file outside of a function, but inside a function they are empty (i.e. it's as if they were never parsed by require_once at all). Even adding a seperate require_once in the function will still echo empty variables.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.