Jump to content

FryShadow

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

FryShadow's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. this is the form that will get a data to produce 20 form http://i23.photobucket.com/albums/b393/fryshadow/form1-1.jpg and this is the result : form1 http://i23.photobucket.com/albums/b393/fryshadow/form2.jpg till http://i23.photobucket.com/albums/b393/fryshadow/form3.jpg i'm using this code to produce the 20 question [code] for ($i=1;$i<=$no;$i++)               {                 echo "<br>";                 echo "<b>No soalan : $i <br>";                 echo "<b>Soalan : <br>";                 echo "<textarea name=\"$soalan\" rows=\"7\" cols=\"30\" wrap=\"on\"></textarea><br>";                 echo "<b>Jawapan :<br>";                 echo "<b>A&nbsp;&nbsp;<input type=\"text\"><br>";                 echo "<b>B&nbsp;&nbsp;<input type=\"text\"><br>";                 echo "<b>C&nbsp;&nbsp;<input type=\"text\"><br>";                 echo "<b>D&nbsp;&nbsp;<input type=\"text\"><br>";                 echo "<br>";               } [/code] how i want to save all the 20 form at once ? all the form 1 - 20 is at the same page
  2. hello i'm new here i got some prob for developing my system.actually my system if for school,teachers can add question(objective) and publish it to student when needed. [code] <form name="wizard_soalan" method="post" action="ques_process.php">               &nbsp;&nbsp;Question  :<br>               &nbsp;&nbsp;<input type="text" name="question" size="10"><br>               <br>               &nbsp;&nbsp;Subject :<br>               &nbsp;&nbsp;<select size="1" name="subjek">                           <option value="0">-Sila pilih-</option>                           <option value="1">Science</option>                           <option value="2">English</option>                                                     </select><br>               <br>               &nbsp;&nbsp;Pilih tahap soalan :<br>               &nbsp;&nbsp;<select size="1" name="tahap">                           <option value="0">-Sila pilih</option>                           <option value="1">UPSR</option>                           <option value="2">PMR</option>                           <option value="3">SPM</option>                           </select><br>               <br>               &nbsp;&nbsp;<input type="submit" value="Next">               </form> [/code] this form will produce a simple form to add question depends on the $question value. lets say 20 question then 20 form will produce. the problem is how i want to save the 20 question in the database.i'm using php and mysql thanks for helping
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.