[Resolved] pass variable to a php file
I am modifying the toolbox theme.
I wrote a ‘whatever.php’ file, and put it under:
Now, if I just include it in index.php, it works fine. When I try to pass variables however like this:
, it breaks down.
I understand (from the php manual) that I need to include the full path for this to work. However, attempts like:
of course fail…
What am I doing wrong? Or is it simply not possible to do this – as I think I read?!
I know I could use global variables, but I don’t really want to.
- The topic ‘[Resolved] pass variable to a php file’ is closed to new replies.