Taille de colonne et php
Tydher
Messages postés
123
Date d'inscription
Statut
Membre
Dernière intervention
-
Tydher Messages postés 123 Date d'inscription Statut Membre Dernière intervention -
Tydher Messages postés 123 Date d'inscription Statut Membre Dernière intervention -
Bonjour, voila mon probleme:
J'ai un tableau qu'un scrip php m'affiche et je voudrais dimensionner les colonnes mais impossible de trouver quoi faire :
Voila mon tableau :
echo '<table align="center" border="1" width="75%">';
echo '<caption> Aperçu';
echo '</caption>';
echo '<tr>';
echo '<td>';
echo 'NETAB';
echo '</td>';
echo '<td>';
echo 'Nom Etablissement';
echo '</td>';
echo '<td>';
echo 'Nb Contacts';
echo '</td>';
echo '</tr>';
echo '</table>';
while ($data = mysql_fetch_row($req))
{
//Tableau
echo '<table align="center" border="1" width="65%">';
echo "<tr>";
echo "<td>";
echo $data[0];
echo "</td>";
echo "<td>";
echo $data[1];
echo "</td>";
echo "<td>";
echo $data[2];
echo "</td>";
echo "</tr>";
echo "</table>";
}
J'ai un tableau qu'un scrip php m'affiche et je voudrais dimensionner les colonnes mais impossible de trouver quoi faire :
Voila mon tableau :
echo '<table align="center" border="1" width="75%">';
echo '<caption> Aperçu';
echo '</caption>';
echo '<tr>';
echo '<td>';
echo 'NETAB';
echo '</td>';
echo '<td>';
echo 'Nom Etablissement';
echo '</td>';
echo '<td>';
echo 'Nb Contacts';
echo '</td>';
echo '</tr>';
echo '</table>';
while ($data = mysql_fetch_row($req))
{
//Tableau
echo '<table align="center" border="1" width="65%">';
echo "<tr>";
echo "<td>";
echo $data[0];
echo "</td>";
echo "<td>";
echo $data[1];
echo "</td>";
echo "<td>";
echo $data[2];
echo "</td>";
echo "</tr>";
echo "</table>";
}
A voir également:
- Taille de colonne et php
- Comment réduire la taille d'un fichier - Guide
- Déplacer colonne excel - Guide
- Trier colonne excel - Guide
- Colonne word - Guide
- Formule somme excel colonne - Guide