I believe that $var, even if interpolated, will only give you the string '10 + 20'. I think what you are looking for is an eval(). However, please be careful about what you eval. For example, in your add tags, you may want to be more strict in what matches.
--MidLifeXis
In reply to Re: variable interpolation
by MidLifeXis
in thread variable interpolation
by shan_emails
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |