0
How can i show different output for different field chosen through checkbox in php
7 Respuestas
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.
0
I want to show different output for different fields(mine 4 fields) chosen from the checkbox
0
Can you show me some output examples where chosen checkboxes were different?
I'm still not sure what you mean by different output.
0
Sry but even i m not getting my problm into words...
0
Means after choosing checkbox fields..page will relocate to another where different forms will be displayed as per the selected fields
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
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