View ¡m../sdba/impages/CURRENCY2.im¡n
<% #$fromcurr will be pre-defined and available in future responses $NEXTPAGE = "CURRENCY3.im"; session(fromcurr); session($blahwd); session(blahnod); if($INCOMINGMSG eq"1"){ $fromcurr = "dollars"; $goodinput = 1;} elsif ($INCOMINGMSG eq"2"){ $fromcurr = "euros"; $goodinput = 1;} elsif ($INCOMINGMSG eq"3"){ $fromcurr = "yen"; $goodinput = 1;} else { $goodinput = 0;} $blahwd = "set"; $blahnod = "set"; if ($goodinput){ %> What currency do you want to exchange your $fromcurr to? 1. Dollars 2. Euros 3. Yen <% } else { include (CURRENCY.first);} %>