par
Z3lg4dis » 16 oct. 2007, 14:05
Voila avec les explications j'ai fait ça mais ça ne donne pas grand chose :
<?php $sqldate = "SELECT DATE_FORMAT(date_demande,'%d/%m/%Y') FROM intervention";
$sql_date = mysql_query($sqldate) or die('Erreur : ' . mysql_error());
?>
<td width="120" align="center"><span class="intitule_lig"><?php echo $Tab["date_demande"]; ?></span></td>
<td width="100" align="center"><span class="intitule_lig"><?php echo $Tab["heure_demande"]; ?></span></td>
<td width="235" align="center"><span class="intitule_lig"><?php echo $Tab["nom_user"]; ?> <?php echo $Tab["prenom_user"]; ?></span></td>
<td width="170" align="center"><span class="intitule_lig"><?php echo $Tab["nom_tech"]; ?> <?php echo $Tab["prenom_tech"]; ?></span></td>
<td width="140" align="center"><span class="intitule_lig"><?php echo $Tab["nom_urg"]; ?></span></td>
Voila avec les explications j'ai fait ça mais ça ne donne pas grand chose :
[php]<?php $sqldate = "SELECT DATE_FORMAT(date_demande,'%d/%m/%Y') FROM intervention";
$sql_date = mysql_query($sqldate) or die('Erreur : ' . mysql_error());
?>
<td width="120" align="center"><span class="intitule_lig"><?php echo $Tab["date_demande"]; ?></span></td>
<td width="100" align="center"><span class="intitule_lig"><?php echo $Tab["heure_demande"]; ?></span></td>
<td width="235" align="center"><span class="intitule_lig"><?php echo $Tab["nom_user"]; ?> <?php echo $Tab["prenom_user"]; ?></span></td>
<td width="170" align="center"><span class="intitule_lig"><?php echo $Tab["nom_tech"]; ?> <?php echo $Tab["prenom_tech"]; ?></span></td>
<td width="140" align="center"><span class="intitule_lig"><?php echo $Tab["nom_urg"]; ?></span></td>[/php]