name value radio button | SoloLearn: Learn to code for FREE!

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..

6/18/2017 1:19:36 PM

aditia kusuma

2 Answers

New Answer

+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.

+1

Form must submit to php, let php decide whether execution is needed or not.