What are the variables in the {dede: php} tag? {Dede: php} & nbsp; $ cfabc; {dede: php} & nbsp; {dede: php} $ cfabc; & nbsp; echo & lt; li & gt ;. $ cf. & lt; li & gt; {dede: php} as shown above, if the variables in the $ {dede: php} tag are different?
{Dede: php}
$ Cf = 'abc ';
{/Dede: php}
{Dede: php}
// $ Cf = 'abc ';
Echo'
'. $ Cf .'';
{/Dede: php}
As shown above, if $ cf is defined in another {dede: php} tag segment, the value of $ cf cannot be reached in the tag segment below. Are there two tags?
Not generic?
My goal is:
{Dede: php} if (condition 1)
{
{/Dede: php}
Here is the {dede: list} tag
{Dede: php}
}
Else
{
{/Dede: php}
Here is another {dede: list} tag
{Dede: php}
}
{/Dede: php}
That is, other labels are dynamically loaded based on judgment.
------ Solution --------------------
Global?
------ Solution --------------------
It can only be passed through javascript.
JScript code