![]() |
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:
|
Are you getting anything in your error_logs? (If you don't know where they are, you should ask your host.)
|
1 Attachment(s)
No error at all. $copy just shows up as $copy in the browser.
|
Try something like:
HTML Code:
<div>' . $copy . '</div> |
Miss, you are a hero!:)
Do you btw know a site which explains more about the use of those dots and stuff? |
Not really. I've learned everything I know through trial and error. Lots of errors.... lots and lots and lots of them! :)
|
All times are GMT. The time now is 02:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|