fonction php qui créez des tableaux
bonsoir à tous le monde je doit développez une fonction php qui créez des tableaux
voici mon code qui marche pas
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
function tableau($lignes,$colones)
{echo("<table>");
for ($i=1;$i<=$lignes;$i++)
for($j=1;$j<=$colones;$j++)
{echo("<tr>");valeur <td/>");
}
echo("<tr/>");
echo("<table/>");
} |
pourriez vous me corrigez
merci
remerciment et demande d'information
bonsoir ok ça marche mais il y'a un problème je veut ajoutez un css
table
Code:
1 2 3
| {
border-collapse: collapse;
} |
mais sa marche pas
merci