That's the html for displaying the the multiple choice question. All you need to do is move the 'tr' tags of the options' table element outside the loop, and that should result in the options displayed in one line.
| 14 : | |
|
<table class="answer"> |
| 16 : | <tr> | ||
| 15 : | |
|
<?php $row = 1; foreach ($anss as $answer) { ?> |
| |
|
||
| 17 : | |
|
<td class="c0 control"> |
| 18 : | |
|
<?php echo $answer->control; ?> |
| 19 : | |
|
</td> |
| 20 : | <td class="c1 text <?php echo $answer->class ?>"> | ||
| 21 : | |
|
<label for="<?php echo $answer->id ?>"> |
| 22 : | |
|
<?php echo $answer->text; ?> |
| 23 : | |
<?php echo $answer->feedbackimg; ?> | |
| 24 : | </label> | ||
| 25 : | </td> | ||
| 26 : | |
|
<td class="c0 feedback"> |
| 27 : | |
|
<?php echo $answer->feedback; ?> |
| 28 : | |
|
</td> |
| |
|
||
| 30 : | |
|
<?php } ?> |
| 29 : | </tr> | ||
| 31 : | |
|
</table> |
I hope that helps.