Skip to content Skip to sidebar Skip to footer

Why Isn't The Appended Row's Data Displayed After Being Submitted?

this is my php code(1st page):
1

Solution 1:

Change your secound page to something like this:

<table width="600px" id="project">
<?php
    $index = 1;
    while(isset($_POST["pro_".$index])) {
?>
       <tr>
           <td><?php echo $index; ?></td>
           <td><?php echo $_POST["pro_".$index]; ?></td>
       </tr>
<?php 
    $index++;
} ?>
</table>

Post a Comment for "Why Isn't The Appended Row's Data Displayed After Being Submitted?"