![]() |
CMS Widget/Forum Block Same Code Different Problems
PHP Code:
How can i do this script work? |
Have you tried looking at some of the example widgets and blocks that people have put in the mods forum here? Go see their syntax (you shouldn't be using mysql_connect). And, you should not be using echo, but instead outputing to a variable or using return, depending on if you are writing a block or widget.
|
So for widget it must be like this:
PHP Code:
|
All times are GMT. The time now is 02:42 PM. |
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:
|