![]() |
Setting a variable for use within a template
I'm learning a little bit about {vb:set ...} and {vb:raw ... } but I am not quite sure how to accomplish using that to set a custom variable to simple a random number.
I'm trying to do exactly this: PHP Code:
Code:
{vb:set randnum, $randomnum} Code:
{vb:raw randnum} |
<a href="https://vborg.vbsupport.ru/showthread.php?t=328332" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=328332</a>
|
You should better use this...https://vbulletin.org/forum/showthread.php?t=328335
|
All times are GMT. The time now is 06:52 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:
|