[PHP-users 3045] Re: 教えて下さい

Junichi Kuroki php-users@php.gr.jp
Tue, 23 Oct 2001 20:42:08 +0900


 黒木です。

> フォーム中のラジオボタンの選択によって実行するアクションを変えることは可能でしょうか?
> チェック1が選択されたらsearh1.php
> チェック2が選択されたらsearh2.php
> チェック3が選択されたらsearh3.php
> とゆうことをしたいのですが、、、

switch( $GLOBALS[shitei] ) {
case 1: header("Location: ./search1.php" ) ; return ;
case 2: header("Location: ./search2.php" ) ; return ;
case 3: header("Location: ./search3.php" ) ; return ;
}

とか。

(: )('')( :)(..)(: )('')( :)(..)(: )('')( :)(..)

  黒木淳一 : kuroki@mycc.co.jp
  P.S.R.C.  http://www.chamise.jp/mera/index.html

(..)( :)('')(: )(..)( :)('')(: )(..)( :)('')(: )