Click to See Complete Forum and Search --> : HTML Template & radio button


troy1984
03-19-2004, 04:25 AM
Hi everyone,

I'm trying to make a poll in php. For this I made a template.
It looks a bit like this

Question
o Awnser 1
o Awnser 2
o Awnser 3
o Awnser 4
o Awnser 5

Now I can edit the question and awnsers trough my admin page the problem is i dont always got 5 awnsers it's a max. So somewhere in my template i must say something like: Only view when there is a awnsers. couse now if i got 3 awnsers is displays the 3 good and then "awnser_4" and "awnsers_5" . Anyone got any idears. Tnx in advance

chrismartz
03-20-2004, 02:58 PM
use a simple if statement so if you have information in that part is shows other wise don't show....if this is what you mean....i can help...just post again