php - How to pass grid data to another page? -


i new php. have page containing grid. users can edit values in grid. when click submit button, pass of grid data action page. however, don't know how this. please give inputs.

for eg. if form this, can give name text below.

<form name="form_submit" method="post" action="">               <table>       <tr>          <td><input type="text" name="title[]" /></td>          <td><input type="text" name="text[]" /></td>        </tr>        <tr>           <td><input type="text" name="title[]" /></td>           <td><input type="text" name="text[]" /></td>        </tr>        <tr>           <td><input type="text" name="title[]" /></td>           <td><input type="text" name="text[]" /></td>        </tr>        <tr>           <td><input type="text" name="title[]" /></td>           <td><input type="text" name="text[]" /></td>        </tr>        <tr>           <td colspan="2"><input type="submit" value="submit" name="submit" /></td>        </tr>    </table> </form> 

when submit, output of values in form of array below.

array (     [title] => array         (             [0] => test             [1] => test1             [2] => test2             [3] => test3         )      [text] => array         (             [0] => test             [1] => test1             [2] => test2             [3] => test3         )      [submit] => submit ) 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -