Re: WML - How to read WML form in PHP(4)

From: Date: Sat, 05 Aug 2000 10:09:10 +0000
Subject: Re: WML - How to read WML form in PHP(4)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10249@lists.php.net to get a copy of this message
Anders Dannberg wrote: > I'm having problems reading values from WML code into PHP. > Anyone have any suggestions on how i would get the value from a inputbox or > listbox (WML) and output it in PHP? > I'm currently using something like this: > ---------------------------------------------- > Name:<input type="text" name="name"/> > > <do type="accept" label="Next"> > <go href="#card2"/> > > <card id="card2" title="result"> > <p> > <?php > echo $(name); // also tried $name but it doesn't output anything... > ?> In WML cards are part of deck which is equal to web page. If you go localy from one card to another (to card2) in one deck, PHP is not involved. You should break cards into separate decks and then use $name in PHP to get value from input field. ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz

« previous php.general (#10249) next »