0

name value radio button

can we use radio button for some action like run a php? i e. two buttons "yes" or "no" if we choise yes then yes.php run... and when we choise no then no.php run... please... answer ty..

18th Jun 2017, 1:19 PM
aditia kusuma
aditia kusuma - avatar
2 Respuestas
+ 1
you can simply add two button for yes it will be linked to yes.php and for no it will open no.php otherwise you may need to apply if else logic. btw simple button is enough for this.
18th Jun 2017, 1:46 PM
Hasan Misbah
Hasan Misbah - avatar
+ 1
Form must submit to php, let php decide whether execution is needed or not.
18th Jun 2017, 2:24 PM
Calviղ
Calviղ - avatar