![]() |
dont evaluate variable, just print it ?
I have a template which has some variables and some non variables but both use the same structure as php
$varaible_a $variable_b what I want to do is the template to print the variable value for variable_a but just print $variable_b. Example, is variable_a = 10 my output would be 10 $variable_b is there an easy way to do this ? sussed it $variable_a \$variable_b |
For
10 $variable_b use Code:
echo $variable_a . '<br />$variable_b'; $variable_a $variable_b use Code:
echo '$variable_a <br /> $variable_b'; Note the single quotes. Single quotes do no parse variables, and are faster than double quotes. Only use double quotes when needed. |
All times are GMT. The time now is 01:01 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:
|