use DataAssist to create a dynamic radio group?
Can DataAssist be used to create a dynamic radio group, using the values from a MySQL table? I thought I could create a dynamic search using DataAssist and choosing radio group, but it only inserted static values, nothing from the database. This is what I have so far and it's not working:
<form action="" method="POST" name="form1" id="form1">
<?php do { ?>
<input name="fruitID" type="radio" value="<?php echo $row_getFruit['fruitID']; ?>" />
<?php echo $row_getFruit['fruitName']; ?><br />
<?php } while ($row_getFruit = mysql_fetch_assoc($getFruit)); ?>
</form>
What have I done wrong?