![]() |
PHP Direct Execution widgit, causing full page string return.
I'm working on a widgit to display some form information from a database. Problem is, it seems if I get too complicated it breaks the cms in some manner and I end up with a full page return of the string value.
PHP Code:
However PHP Code:
Why is such a little change to the code causing such drastically different results? |
You shouldn't be using echo to print out the text in your widget. You should be assigning your output to the variable $output.
|
All times are GMT. The time now is 02:44 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:
|