Hi all,
This isn't specifically intended for use actinic...
I'd like to have a single file that houses variables. Things like HOURLY_RATE, PHONE_NUMBER, HEADLINE etc
then instead of writing the hourly rate on every page I could just call the file once per page and then call the variables wherever I wanted them.
I've done lots of googling and I know this is possible with php. My main problem is with accessing the variable from another file. For my example, i'd like to put the variables in "../assets/variables.php"
I'm sure I'll kick myself when I see this!
Thanks very much
Matt
This isn't specifically intended for use actinic...
I'd like to have a single file that houses variables. Things like HOURLY_RATE, PHONE_NUMBER, HEADLINE etc
then instead of writing the hourly rate on every page I could just call the file once per page and then call the variables wherever I wanted them.
I've done lots of googling and I know this is possible with php. My main problem is with accessing the variable from another file. For my example, i'd like to put the variables in "../assets/variables.php"
I'm sure I'll kick myself when I see this!
Thanks very much
Matt
Comment