=0;$i<$sizeOfArray;$i++){
if($yourArray[$i]==$selectValue)
break;
}
// $i contains the position of the value in the array
// Lycka till!
// Joachim
-Ursprungligt meddelande-
Fran: Disko_kex [mailto:[EMAIL PROTECTED]
Skickat: den 25 augusti 2003 08:59
Till: [EMAIL P
As far as I know, each tag can only have one action that is
executed by any submit buttons in that form. You can however use the
Javascript modifier onClick="" to call different javascript functions
with each button. Where you go from there I don't know. If it were to
me, I would have both button
First of all let me scold you for running Apache and PHP on Windows
9x.
The solution would be to make two inputs of type "submit" that have
the same name but different values. Then when the form is submitted
you check the variable $button_name and execute the relevant code.
--
PHP Windows Mai