The examples show the model directory set in the Config, and the model directory not 'required'. Other examples I've found show this too, no 'require' for the model directory. Yet I seem to need a 'require', after the 'require_once' for ActiveRecord.
I'm new to PHP, following 'The PHP Fundamentals' course on Tuts+, so sorry if this is a stupid question. Why do I need a 'require', when others clearly don't?
Oh, and why no 'search' on your forum???!!!!
TOF.
Richard DowningSun Dec 07 15:31:26 -0500 2014
OK, this always happens when I finally give up and post to a forum. I didn't correctly capitalize the name of the model (er.... Model).
Subject: Model directory (Noob)
The examples show the model directory set in the Config, and the model directory not 'required'. Other examples I've found show this too, no 'require' for the model directory. Yet I seem to need a 'require', after the 'require_once' for ActiveRecord.
I'm new to PHP, following 'The PHP Fundamentals' course on Tuts+, so sorry if this is a stupid question. Why do I need a 'require', when others clearly don't?
Oh, and why no 'search' on your forum???!!!!
TOF.