DB-Select -> Deutsches Datumsformat

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • DB-Select -> Deutsches Datumsformat

    jaja, ich weiss,
    das thema ist schon schon tausendmal hier gepostet worden,
    bekomms aber trotzdem nicht hin:

    PHP-Code:
    <?
    require    ("config.inc.php");
    include    ("functions.php");



    db_connect();


    $result = mysql_query("SELECT *, DATE_FORMAT(date,'%d.%M %Y') AS datum  FROM galerien_albums order by aid desc LIMIT  1");


    while ($row = mysql_fetch_array($result)) {
    echo "<span class='FontNormal'>".$row["datum"]."</span>";

    }

    ?>
    gibt mir 12.January 2004 aus. soweit so gut.
    ABER: wie stelle ichs an, das January durch "Januar" ersetzt wird?


    gruss
    #bassek

  • #2
    Schau dir mal str_replace() an, das wird dir helfen.

    Kommentar


    • #3
      Lösung hier

      Kommentar

      Lädt...
      X