Welcome Guest, Not a member yet? Register   Sign In
trying to use phpSpreadsheet
#11

(02-08-2018, 01:54 PM)Wouter60 Wrote: Right, that's why in this case, the require statement must be used at the top of the controller. The namespace can't be used if the third party php file wasn't included with require or require_once.

Yes that is true. I should have realized you were speaking explicitly about the require 'vendor/autoload.php' statement. Instead I understood you to be saying any 'require' require statement. Doh! Blush
Reply




Theme © iAndrew 2016 - Forum software by © MyBB