Re: [PHP] Re: controls "list menu"
hy, I have next lines of code: 1. All Open Leads My Unread Leads Recently Viewed Leads Today's Leads 2. "> Select One: >My Unread Leads >Recently Created >Recently Viewed both forms are in same page. second form it works fine without problems. first form it works with one exception. If select "All Open Leads" don't happend anything For rest of values it works. For example if select "My Unread Leads" I see page leadview.php. What is it wrong? kale - Original Message - From: "Peter Bottenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 13, 2002 1:35 PM Subject: [PHP] Re: controls "list menu" > Hy, > > Save this script as select.php > > > if (!isset($action)) > { > $action = "select"; > } > > if ($action == "select" ) > { > ?> > > > one > two > three > > > >} > > if ($action == "display") > { > ?> > You selected value >} > > ?> > > Greetings > Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: controls "list menu"
On Tue, 2002-08-13 at 11:35, Peter Bottenberg wrote: > Hy, > > Save this script as select.php > > $action = $_POST["action"]; > if (!isset($action)) > { > $action = "select"; > } [ snip rest ] Sorry, but the PHP irc channel is full of people asking why form variables can't be seen by PHP for this reason. James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: controls "list menu"
Hy, Save this script as select.php one two three You selected value Greetings Peter - "Kale" <[EMAIL PROTECTED]> schreef in bericht 00aa01c242b2$1dc496b0$7800a8c0@leonard">news:00aa01c242b2$1dc496b0$7800a8c0@leonard... hy, I have a list menu: one two three I want when I select value "two" my page reloads and it prints "You selected value TWO". How can I do this? thx kale. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php