Hours next to the nickname

Started on the old forum in May 2009 · view the original in the archive · old links redirect here

1 reply · 521 views · started 17 years ago · 1 min read

Leviathan73 Senior · 260 posts #1

Hours next to the nickname Hello friends should put next to the nickname hours, minutes and hours,

echo ""<a href=\"chat.php?action=say2&sid=$sid&who=$chat[0]&rid=$rid&rpw=$rpw\">$optlink</a>:<br> ";
  echo $tosay."<br/>";

how is it done? Thanks to those who know me solve this problem 🤨

Leviathan73 Senior · 260 posts #2

I put this code, but when I refresh the page, update nickname in all with the same time

$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." ".$giorno." ".$mese." ".$anno."";
  echo "".date("H:i")."<a href=\"chat.php?action=say2&sid=$sid&who=$chat[0]&rid=$rid&rpw=$rpw\">$optlink</a>:<br> ";
  echo $tosay."<br/>";
  }
  }
  $counter++;
  }
  }
  }
        echo "<br/>";

😕

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close