Log in

View Full Version : Making php work in $code


n1ckn4me
02-07-2005, 03:29 PM
ey!
I've made a php-templatefile that contans html/php code.
I made a $code out of it in the phpinclude_start...

...When I use the $code in one of my other templates in vB than the php-templatefile that I made won't work ?

is this just the way it is ? or am I doing something wrong ?

Thanks in advanced!

greetZzz, N1ckN4Me

Marco van Herwaarden
02-07-2005, 04:15 PM
Just how things work in global:
1. Set a Variable in your php-script
2. eval the template where you use this variable and include that template in your output.

If either of those 2 is not done (or in a different sequence) things will not work.