[PHP] Création tableau particulier
Résolu
ben85350
Messages postés
610
Date d'inscription
Statut
Membre
Dernière intervention
-
webmaster09 Messages postés 398 Date d'inscription Statut Membre Dernière intervention -
webmaster09 Messages postés 398 Date d'inscription Statut Membre Dernière intervention -
A voir également:
- [PHP] Création tableau particulier
- Tableau word - Guide
- Meilleur site de vente entre particulier - Guide
- Tableau ascii - Guide
- Trier un tableau excel - Guide
- Creation compte gmail - Guide
4 réponses
c'est pas dure de cree un tableu exemple:
<th>Age</th>
<th>Pays</th>
</tr>
</thead>
<tfoot> <!-- Pied de tableau -->
<tr>
<th>Nom</th>
<th>Age</th>
<th>Pays</th>
</tr>
</tfoot>
<tbody> <!-- Corps du tableau -->
<tr>
<td>blablabla</td>
<td>blablabla</td>
<td>blablabla</td>
</tr>
<tr>
<td>Michelle</td>
<td>26 ans</td>
<td>Etats-Unis</td>
</tr>
<tr>
<td>François</td>
<td>43 ans</td>
<td>France</td>
</tr>
<tr>
<td>Martine</td>
<td>34 ans</td>
<td>France</td>
</tr>
<tr>
<td>Jonathan</td>
<td>13 ans</td>
<td>Australie</td>
</tr>
<tr>
<td>Xu</td>
<td>19 ans</td>
<td>Chine</td>
</tr>
</tbody>
</table>
etc etc etc...
<th>Age</th>
<th>Pays</th>
</tr>
</thead>
<tfoot> <!-- Pied de tableau -->
<tr>
<th>Nom</th>
<th>Age</th>
<th>Pays</th>
</tr>
</tfoot>
<tbody> <!-- Corps du tableau -->
<tr>
<td>blablabla</td>
<td>blablabla</td>
<td>blablabla</td>
</tr>
<tr>
<td>Michelle</td>
<td>26 ans</td>
<td>Etats-Unis</td>
</tr>
<tr>
<td>François</td>
<td>43 ans</td>
<td>France</td>
</tr>
<tr>
<td>Martine</td>
<td>34 ans</td>
<td>France</td>
</tr>
<tr>
<td>Jonathan</td>
<td>13 ans</td>
<td>Australie</td>
</tr>
<tr>
<td>Xu</td>
<td>19 ans</td>
<td>Chine</td>
</tr>
</tbody>
</table>
etc etc etc...
je veut une fonction PHP(les bornes sont des variables aléatoires), pas un code html ...
apparemment le fonction range semble faire l'affaire.