![]() |
How to use functions in template
How do i use a function like this
function fetch_userinfo(&$userid, $option = 0, $languageid = 0) in my own template, one that I'm making following this guide https://vborg.vbsupport.ru/showthrea...+your+own+page Well an easier question, how do I get it to run and not show up as text? The page just displays this fetch_time_data(); |
you can assign a variable such as
$gettime = fetch_time_data(); and in your template just put $gettime. As far as running the the function after you load the template you cant do that as it should be run in php and php is serverside, running it after loading the template would be clientside. |
Thank you.
|
All times are GMT. The time now is 03:49 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:
|