Hallo,
könnte mir jemand in php weiter helfen, denn da wird das Datum date_purchased in der Falschen Reichenfolge angezeigt. Es soll aber 10-10-2008 statt 2008-10-10 Anzeigen :/
<table class="tes_boxInhalt" width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td class="tes_boxInhaltHeader">Nr.</td>
<td width="80px" class="tes_boxInhaltHeader">Datum/Zeit</td>
<td width="120px" class="tes_boxInhaltHeader">Kunde</td>
<td width="80px" class="tes_boxInhaltHeader"> </td>
<td width="80px" class="tes_boxInhaltHeader"> </td>
</tr>
<?php
$abfrage = "SELECT * FROM orders ORDER BY orders_id DESC LIMIT 20";
$ergebnis = mysql_query($abfrage);
while($row = mysql_fetch_object($ergebnis)){
?>
<tr>
<td class="tes_boxInhaltText" valign="top"><?php echo $row-> orders_id; ?></td>
<td class="tes_boxInhaltText" valign="top"><?php echo $row-> date_purchased; ?></td>
<td class="tes_boxInhaltText" valign="middle"><?php echo $row-> delivery_name; ?></td>
<td class="tes_boxInhaltText" valign="middle"><a href="orders.php?page=1&oID=<? echo $row-> orders_id; ?>&action=edit">bearbeiten</a></td>
<td class="tes_boxInhaltText" valign="middle"><a href="orders.php?page=1&oID=<? echo $row-> orders_id; ?>&action=delete">löschen</a></td>
</tr>
<?php
}
?>
</table>