wml提交表单取值问题

<?xml version="1.0" encoding="utf-8"?>  
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">  
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=7" />
<meta http-equiv="content-type" content="text/vnd.wap.wml;charset=UTF-8"/>
</head>
<card id="login" title="饭店登陆口">
<p>
饭店登陆口<br/>
帐号:<input id="nameV" type="text" name="nameV"></input>
密码:<input type="password" name="passV" maxlength="20" value="2222"></input>
<anchor  title="登陆">登陆
<go href="wap_login.php" method="post" accept-charset="utf-8">
<postfield name="method" value="login"/>
<postfield id="username" name="username" value="$(name)"/>
<postfield name="password" value="2"/>
</go>
</anchor>
</p>
</card>  
</wml>  

运行后台取值时username取不到值,如果直接用
<postfield id="username" name="username" value="123132"/>后台就能取到..
麻烦哪位高手帮忙解决下。

你可能感兴趣的:(xml)