October 18th, 2000, 06:50 PM
Well, yes I'm new here I use PHP with WML. After a simple form (login & password) I check if they are correct (with MySQL) and if yes:
echo ("<card ontimer="lesson.wml">n");
echo ("<timer value="30"/>n");
echo ("<p> Password ".$pass." accepted for login ".$find." </p>n");
what I want is to the next page lesson.wml the variable $find to exist with the value it had here. Meaning I want to keep the login name to the next page. How can I do that????????
October 19th, 2000, 07:59 AM
There are a couple ways to do it.
If the user is submitting another form, you can pass it along as a hidden element
<input type=hidden name="find" value="<?php echo $find; ?>">
Or,you can append the value onto the end of a hyperlink
<a href="page2.php?find=<?php echo $find; ?>">Click here</a>
I don't know if sessions or cookies work with wml, but those would be options also...