خرید بک لینک

Vote count: 0

OK, so is there anyway to get the button id when clicked and store it for use in the next page (i'm trying to use the button id to know which button is clicked and use it for an sql query in the next page) ? here's my code :

        while($doees=$reponse->fetch())
        {
          ?>
                        <tr>
                            <form action="suppression.php" method="post">
                                <td ><h3 ><a ><?php echo $doees['Ncheque']; ?></a></h3></td>
                                <td><?php echo $doees['Dateremise'];?></td>
                                <td><a><?php echo $doees['Client'];?></a></td>
                                <td><a><?php echo $doees['Banque'];?></a></td>
                                <td><a><?php echo $doees['Motif'];?></a></td>
                                <td><?php echo $doees['Dateretour'];?></td>
                                <td><?php echo $doees['Datedelivrance'];?></td>                                   
                                <td><input type="submit" id="<?php echo $doees['Ncheque'] ?>" class="button" name="delete" value="supprimer" /><a href="#" class="ico modifier">modifier</a></td>

                            </form> 
                        </tr>
            <?php 
        }
        $reponse->closeCursor();
        ?>

asked 18 secs ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 7 مرداد 1395 ساعت: 19:12

صفحه بندی