Last active
January 25, 2018 13:45
-
-
Save arif98741/e09f8350e5abb63f109c3d95a138cbe4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wrong code | |
<?php while($row= $choice ->fetch_assoc()); ?> | |
<li><input name="choice" type="radio" value="<?php echo $row['id'];?>" /> <? php echo $row['text']; ?></li> | |
<?php endwhile;? > | |
right code | |
<?php while($row= $choice ->fetch_assoc()): ?> | |
<li><input name="choice" type="radio" value="<?php echo $row['id'];?>" /> <? php echo $row['text']; ?></li> | |
<?php endwhile;? > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment