My problem is that I can not select radio buttons. I am using php mysql and create radio buttons in while loop for mysql_fetch_array function. Here is the code:
<div class="alert alert-info">
<label id="dataFlow">
<?php if($detailPage == TRUE && $detailType == "poll"){ ?>
<!-- survey part -->
<h3><?php echo $pollData['pollContent']; ?></h3>
<form id="pollForm" method="post" action="">
<p>
<?php while($pollAnswerData = $pollAnswerDataSql->fetch_assoc()) {
echo '<input type="radio" id="' . $pollAnswerData['pollquestionId'] . '" name="pollAnswer" />' . $pollAnswerData['pollquestionContent'] . '<br/>';
} ?>
</p>
<input type="submit" name="submitButton" id="submitButton" value="Gönder"/>
</form>
<?php } else if($detailPage == TRUE && $detailType == "post") { ?>
<h4><?php echo $postData['postContent']; ?></h4>
<?php } else {
listFlowData();
} ?>
</label>
</div>
What is the problem in here?