I don’t know anything about php (so I’ve no idea why I posted here) but shouldn’t you be escaping the quotes inside the html or at least using double quotes on the outside and single quotes inside.
e.g.
I agree with the above. Navigation using a radio button like that is a bad design decision. For one thing, they aren’t meant for navigation, and another thing, it offers no more advantage than writing out a list of links. Use elements for their intended purposes. Radio buttons are form elements, designed to capture a decision, and then submitting it. Anchors are for navigation. Can it be done? Of course, but then again, you can use a crowbar to open your front door instead of your key, but why would you?
Thanks for the replies!
I am sorry for not framing my question correctly. I am using two radio buttons. So when the radio button is selected, the page refreshes and uploads the different set of data. I was looking through the web and found that this is one of the ways to do it. Please let me know if there is a better to way to do it. I would appreciate any ideas or suggestions.
Is the content of highHP and highHR being displayed under the radio buttons or just being uploaded to the server itself? Either way it’s still a bad idea. I’d use a <select> dropdown to let the user choose (saves space on screen) with a small “GO” input button beside it to submit the form.
Thanks for the reply. Yes, there are two sets of data, so with the change of selection the displayed data set changes. I will try implementing the way you have suggested.
Thanks again!