zslates
08-27-08, 01:40 AM
Hello all,
I was informed by my host that anyone can run mivascript, but I've been trying to something very simple (in other languages) but cannot get it done....set a variable and output a variable. This is just a test to see whether it will execute.
<MvASSIGN NAME="g.test" VALUE="{'this is a string'}">
<MvEVAL EXPR = "{ g.test $ '<br>' }">
<!-- where l.str is a string containing any regular mivascript expression -->
<MvASSIGN NAME="l.str" VALUE="{toupper(g.test)}">
<MvEVAL EXPR="{ miva_variable_value('l.str') }">
I took this from another post.
I had always thought you had to be a "developer"....
Zack
I was informed by my host that anyone can run mivascript, but I've been trying to something very simple (in other languages) but cannot get it done....set a variable and output a variable. This is just a test to see whether it will execute.
<MvASSIGN NAME="g.test" VALUE="{'this is a string'}">
<MvEVAL EXPR = "{ g.test $ '<br>' }">
<!-- where l.str is a string containing any regular mivascript expression -->
<MvASSIGN NAME="l.str" VALUE="{toupper(g.test)}">
<MvEVAL EXPR="{ miva_variable_value('l.str') }">
I took this from another post.
I had always thought you had to be a "developer"....
Zack