So… I want to learn some PHP and put up some multiple choice quizzes this semester. But I don’t know if students have a way of looking at the source code to find the answers. Since PHP is client-side, does that mean all the code involving seeing if they have the correct answer is hidden from the user? Is there something extra I have to do to hide this part?
Question X on my form is a radio group that has 3 possible choices. If the customer picks option 2, I need to have a drop-down box appear that has 3 options. How do I accomplish this? I would like the drop-down box to be hidden until the customer selects option 2.
I’m new to PHP. I want to log in to the page and authenticate the user with the DB info. What should i do to hide the PHP code from the page source? Or is there another way?
I’m looking for a bit of html or php code that i can put around an object to hide it until i remove the hiding code. this way i can quickly change my website homepage from showing, say the music player to a picture, while still having all the code there, but just won’t show in the webpage to viewers. this way i don’t have to completely delete/add code all the time. thanks!