So this week I am coming up with two questions, they are probably silly questions but I have googled and come up with nothing.
1)Figured out number 1 by myself, accidently had a / where it wasn't supposed to be.
2)This one I have not tried to hard to do but I want to confirm that I am going about it in the right way. What I am trying to do is have mySQL call the directory in which to look for an index.php file.
So for starters what I was going to do is make a define() string that went something along the lines of
define([template],call from mySQL database)
My theory is that if you were to have the directory name setup in the mySQL database it would the define function would establish that [template] was the value in the mySQL database and would then insert that name within the require_once function.
Is my theory valid or am I completely out to lunch?
Thanks for the help guys and gals!