Hours next to the nickname

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hours next to the nickname

    Hours next to the nickname Hello friends should put next to the nickname hours, minutes and hours,
    PHP Code:
    echo ""<a href=\"chat.php?action=say2&amp;sid=$sid&amp;who=$chat[0]&amp;rid=$rid&amp;rpw=$rpw\">$optlink</a>:<br> ";
      echo 
    $tosay."<br/>"
    how is it done? Thanks to those who know me solve this problem

    #2
    I put this code, but when I refresh the page, update nickname in all with the same time
    PHP Code:
    $arr_set=array("Dom","Lun","Mar","Mer","Gio","Ven","Sab");
    $arr_mesi=array("Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic");
    $settimana $arr_set[date("w")];
    $giorno date("d");
    $mese $arr_mesi[date("n")-1];
    $anno date("y");
    $data "".$settimana."&nbsp;".$giorno."&nbsp;".$mese."&nbsp;".$anno."";
      echo 
    "".date("H:i")."<a href=\"chat.php?action=say2&amp;sid=$sid&amp;who=$chat[0]&amp;rid=$rid&amp;rpw=$rpw\">$optlink</a>:<br> ";
      echo 
    $tosay."<br/>";
      }
      }
      
    $counter++;
      }
      }
      }
            echo 
    "<br/>"
    :confused:

    Comment

    Working...
    X