The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
parsing variables in custom php page
Stuggling to insert a whole page into the php page instead of referring to templates. I got the $legend working, but the $copy won't get parsed.
I'm guessing $copy cannot be parsed inside $legend, but I'm quite new on this. Can someone explain what's wrong with this and give a solution for this. Thanks PHP Code:
|
#2
|
||||
|
||||
Are you getting anything in your error_logs? (If you don't know where they are, you should ask your host.)
|
#3
|
|||
|
|||
No error at all. $copy just shows up as $copy in the browser.
|
#4
|
||||
|
||||
Try something like:
HTML Code:
<div>' . $copy . '</div> |
#5
|
|||
|
|||
Miss, you are a hero!
Do you btw know a site which explains more about the use of those dots and stuff? |
#6
|
||||
|
||||
Not really. I've learned everything I know through trial and error. Lots of errors.... lots and lots and lots of them!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|