Alors voici mon code.
En fait j'ai un problème de mise en page :
j'affiche 4 boutons, mais le problème est que ceux ci s'affichent les uns en dessous des autres, or je voudrais qu'ils soient les uns à la suite des autres!
Comment puis-je faire?
Merci...
echo "<form action='quarterly.php?tache=$a_result[tache]' method='post'>";
if ($a_result['statut1'] == 'valide') {
echo "<input name='valid' type='submit' value='Quarter 1' style='background-color:#3CB371'>";
}
else {
echo "<input name='valid' type='submit' value='Quarter 1' style='background-color:#FFA07A'>";
}
echo"</form>";
echo "<form action='quarterly.php?tache=$a_result[tache]' method='post'>";
if ($a_result['statut2'] == 'valide') {
echo "<input name='valid' type='submit' value='Quarter 2' style='background-color:#3CB371'>";
}
else {
echo "<input name='valid' type='submit' value='Quarter 2' style='background-color:#FFA07A'>";
}
echo"</form>";
echo "<form action='quarterly.php?tache=$a_result[tache]' method='post'>";
if ($a_result['statut3'] == 'valide') {
echo "<input name='valid' type='submit' value='Quarter 3' style='background-color:#3CB371'>";
}
else {
echo "<input name='valid' type='submit' value='Quarter 3' style='background-color:#FFA07A'>";
}
echo"</form>";
echo "<form action='quarterly.php?tache=$a_result[tache]' method='post'>";
if ($a_result['statut4'] == 'valide') {
echo "<input name='valid' type='submit' value='Quarter 4' style='background-color:#3CB371'>";
}
else {
echo "<input name='valid' type='submit' value='Quarter 4' style='background-color:#FFA07A'>";
}
echo"</form>";