Bonjour,
Je viens solliciter votre aide car je n'arrive pas a rendre responsive mon tableau (il ne renvoi pas a la ligne quand la phrase est trop longue au contraire il s’élargit).
ci dessous le code:
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 <div class="row"> <div class="col-sm-12"> <table class="table table-hover"> <thead> <tr> <th>Date report</th> <th>Cause</th> </tr> </thead> <tbody> <?php // recherche des données a afficher dans le tableau $id_projet = $_GET['id']; $id_action = $_GET['action']; $sqltableau = "SELECT `TL_Action_Projet_Action`, `TL_Action_Projetcol_Projet`, date_format(TL_Action_Projet_Dte,'%d/%m%Y') as dte, `TL_Action_Projet_Cause` FROM `TL_Action_Projet` WHERE TL_Action_Projetcol_Projet = $id_projet AND TL_Action_Projet_Action = $id_action"; $requetetableau = mysqli_query($conn, $sqltableau); if (mysqli_num_rows($requetetableau)){ while ($donnetableau = mysqli_fetch_assoc($requetetableau)){ echo '<tr> <td>'.$donnetableau['dte'].'</td> <td>'.$donnetableau['TL_Action_Projet_Cause'].'</td> </tr>'; } } ?> </tbody> </table> </div> </div><!-- fin de la row tableau -->
Merci de votre aide.
Cordialement.
Partager