Skip to content

Instantly share code, notes, and snippets.

@ratulcse10
Last active September 4, 2015 21:35
Show Gist options
  • Save ratulcse10/0a009b01284fb9e761a1 to your computer and use it in GitHub Desktop.
Save ratulcse10/0a009b01284fb9e761a1 to your computer and use it in GitHub Desktop.
form
<?php
echo "<h4 class='text-primary'>".$row['id'].". ".$row['ques']."</h4>";
echo "<div class='radio'>";
echo "<input type='radio' value='A' name='q".$row['id']."a'>".$row['opt1'].".<br>";
echo "<input type='radio' value='B' name='q".$row['id']."a'>".$row['opt2'].".<br>";
echo "<input type='radio' value='C' name='q".$row['id']."a'>".$row['opt3'].".<br>";
echo "<input type='radio' value='D' name='q".$row['id']."a'>".$row['opt4'].".<br>";
echo "</div>";
?>
@masiur
Copy link

masiur commented Sep 4, 2015

Done. It worked successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment