php - Get more than one line of data sent to browser -


i have form transports data page using $_get in php. in browser on other page, shows data exported when page, shows first line. want able export selected fields.

below code,

    <?php { ?>   <form  action="../masspay/index.php" name="pile" method="get" >   <tr>     <td><input type="checkbox" name="checkbox" value="check" /></td>     <td><input name="id" type="text" id="id" value="<?php echo $row_pile['id']; ?>" size="10" /></td>     <td><input name="amount" type="text" id="amount" value="<?php echo $row_pile['amount']; ?>" size="10" /></td>     <td><input name="amtnaira" type="text" id="amtnaira" value="<?php echo $row_pile['amtnaira']; ?>" size="13" /></td>     <td><input name="acctno1" type="text" id="acctno1" value="<?php echo $row_pile['acctno1']; ?>" size="10" />       (<?php echo $row_pile['accountname']; ?>)</td>     <td><input name="phone" type="text" id="phone" value="<?php echo $row_pile['phone']; ?>" size="13" /></td>     <td><input name="staff" type="text" id="staff" value="<?php echo $row_admin['name']; ?>" size="15" /></td>     <tr>           <?php } while ($row_pile = mysql_fetch_assoc($pile)); ?>          <td colspan="7"><input type="submit" name="submit" value="process selected" /></td>   </tr>   </form> 

kk looks have database fetching values , displaying values of text box.for sending values have catch them on index.php page doing

$_get['id'] $_get['name'] , furthor  selected field set value on other page check value of checkbox checked or unchecked assinging variable 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -