Mailinglisten-Archive |
On 13.07.01, php wrote:
>Hallo,
Hi!
>
>
>hab ein Problem mit Radiobuttons !
>wie war das nochmal ,wenn man ein Gruppe von =
>Buttons hat und man abfragen
>m=F6chte welche geklickt wurde ?
>
>bsp:
><input type=3D"radio" name=3D"db_auswahl" =
>value=3D"oracle">
><input type=3D"radio" name=3D"db_auswahl" =
>value=3D"mysql">
><input type=3D"radio" name=3D"db_auswahl" =
>value=3D"postgres">
>
>hilllllfe ?!
>
switch($db_auswahl)
{
case "oracle":
{
oracle...
break;
}
case "mysql":
{
mysql...
break;
}
case "postgres":
{ =
postgres....
break;
}
wenn du es gleich verarbeiten willst.
sonst steht "value" immer in der variable $name (hier $db_auswahl)
>Danke
np
Matthias
www.miltenyibiotec.com
>amir
>
>-- =
>** http://www.php-center.de **
>Die PHP-Liste: mailto: php_(at)_phpcenter.de
>http://lists.phpcenter.de/mailman/listinfo/php
>
>
php::bar PHP Wiki - Listenarchive