- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
$sth = $dbh->prepare("select *,DATE(DTime),DATE(RDTime),MONTH(DTime),DAY(DTime),HOUR(DTime),MINUTE(DTime),UNIX_TIMESTAMP(DTime)
from tt_list where Type!=0 $where order $order");
...
if ($row->{'HOUR(DTime)'}<10) {$row->{'HOUR(DTime)'}="0$row->{'HOUR(DTime)'}"};
if ($row->{'MINUTE(DTime)'}<10) {$row->{'MINUTE(DTime)'}="0$row->{'MINUTE(DTime)'}"};
...
print "...<td width=60 nowrap><img src=../images/icon_clock.gif width=16 height=16 border=0>
$row->{'HOUR(DTime)'}:$row->{'MINUTE(DTime)'}</td>...";
Lure Of Chaos 07.09.2011 12:11 # +1
evilsoul 09.09.2011 13:43 # 0
guest8 09.04.2019 11:28 # −999