Discussion in 'General PHP and MySQL Discussions' started by drastic, Mar 29, 2015.
Guys and gals,
How can I place a php include in my header file?
What's the proper code to insert it?
I tried that, but it won't excecute the php.
Here's what I'm trying to use a php include for:
Note the constraints:
Like all of our other callbacks, it must happen to a method within a class. You can't just read out /etc/passwd directly.
The method that you're calling must start with a limited set of prefixes: get, is, has, render, view, return, print, show, display
non coder here...i saw that and just thought "whaaaaat?" I wasn't sure what to do at that point.
edit - found another thread on callbacks that let me know the steps needed.
thanks for pointing in the right direction, it worked perfectly.
Separate names with a comma.