Hi, I've been searching for hours for an answer to this.
I have a coupon saving website and I'm trying to allow people to print off a shopping list by checking checkboxes that once submitted will send you to a basic white page with just those item selected displayed so they can print the list that they created off. I've been able to do that with just a basic form and forwarding to a .php page with some basic PHP script.
So, if I had 10 checkboxes and only 2 of them were checked. Then, on the page they are sent to with the information they checked will have tons of white space in between. Like
It would be like that above. If the user checked 1 then didn't check 2,3,4 but did check 5, then the results page would display it with this big blank space. Which doesn't look good at all. Can anyone explain the code very simply to me that if a checkbox isn't checked that it won't return those blank spaces and will only send information to the next page if checked.