This is one way to take a var over to next deck or card:
echo("<card id=\"new\" title=\"New user\">");
echo("<p align=\"left\">");
echo("User:<input name=\"username\" title=\"New user\" format=\"M\" maxlength=\"20\" />");
echo("Password:<input name=\"password\" title=\"password\" format=\"N\" maxlength=\"10\" />");
echo("Mobile no.:<input name=\"newmobile\" title=\"Mobile phone\" format=\"*N\" maxlength=\"8\" />"); ?>
<anchor title="New User">Let's go
<go href="shutthebox.php#confirm" method="post">
<postfield name="username" value="$username" />
<postfield name="password" value="$password" />
<postfield name="newmobile" value="$newmobile" />
</go>
</anchor>
<?php
echo("</p>");
echo("</card>");
Postfield and method "post" does the job.
Another way to do it is with a a href like this:
print "<a href=\"page.php?page=show&point=$point&pic1=$pic1&pic2=$pic2&pic3=$pic3\">Please Wait...</a>\n";
Best regards
Wapjac
Denmark
scottd wrote:
I think there is a tutorial on passing variables in wap at www.webtools.com, although I'm not sure if it was able to them outside the wml page itself.
scott d~