0

How can i show different output for different field chosen through checkbox in php

13th Mar 2020, 6:41 AM
Vaishali Bishtaniya
7 Antworten
0
Why did you put '<br>' in tags when your question was about PHP? you should have put PHP in the tags there. At least it is relevant to your question topic 👍 Can you elaborate more on that idea? I'm not really sure what you meant to do. Maybe it will help if you can edit the question and rephrase the title to add clarity.
13th Mar 2020, 7:09 AM
Ipang
0
I want to show different output for different fields(mine 4 fields) chosen from the checkbox
13th Mar 2020, 7:21 AM
Vaishali Bishtaniya
0
Can you show me some output examples where chosen checkboxes were different? I'm still not sure what you mean by different output.
13th Mar 2020, 7:38 AM
Ipang
0
Sry but even i m not getting my problm into words...
13th Mar 2020, 8:05 AM
Vaishali Bishtaniya
0
Means after choosing checkbox fields..page will relocate to another where different forms will be displayed as per the selected fields
13th Mar 2020, 8:06 AM
Vaishali Bishtaniya
0
Can page visitors choose all, none or some combinations from the available checkboxes? Did you name the checkboxes as array? IIRC PHP takes multiple checkboxes as array. Do you have a copy of the code in SoloLearn? I think it may help if you attach the code link with your question, so people can review the code and suggest accordingly. Follow this guide to share links 👍 P.S. You still don't have PHP in the question tags ... https://www.sololearn.com/post/74857/?ref=app
13th Mar 2020, 8:15 AM
Ipang
0
To show different output for different fields chosen through a checkbox in PHP, you can use the isset() function to check if a checkbox has been selected, and then use an if statement to display the corresponding output. https://code.sololearn.com/wY9PRE5OS0JB/?ref=app
7th Dec 2022, 3:44 PM
Calviղ
Calviղ - avatar