wapact code if (condition)
Tag (if variable1=variable2)content(/if)useful for conditioning of the content.
For example when we want to show"i am happy" if smile=smile the code is
(if smile=smile)i am happy(/if)
Information :
- except of smile=smile, we will not show up, variable1 must = (equal) variable2. your variables can you conditioning with different tags such as the tag code blog,fm,math etc.
- Besides symbols = (equal) you can also use the symbol > (bigger than) < (smaller than).
Example : (if 10>4)that' true(/if).
Information:- Besides symbols = (equal) you can also use the symbol > (bigger than) < (smaller than).
Example : (if 10>4)that' true(/if).
= equal
~ not equal
> bigger than
< smaller than
~ not equal
> bigger than
< smaller than
Comments
Post a Comment