Login
·
Signup
Home
»
XtGem
»
Coding help
»
Help with XTscript, JS...
» View post
Aash
I am trying to get a variable through user selection and to include the file assigned to that variable.
<form name="cat" action="" method="get" /> <select name="list"> <option value="val">SOME VALUE</option> <option value="val2">SOME VALUE2</option> </select> <input type="submit" /> </form> <!--parser:xtscript--> get list print <xt:include file="$list" /> <!--/parser:xtscript-->
* The file is not getting included
#
2015-02-04 13:50 (edited 2015-02-04 13:57 by
Aash
) ·
(0)
Home
»
XtGem
»
Coding help
»
Help with XTscript, JS...
» View post
Online: Guests: 1
Log in