Parent Directory | Revision Log | Patch
revision 1.5 by dpavlin, Mon Mar 25 12:30:45 2002 UTC | revision 1.6 by dpavlin, Mon Mar 25 12:45:45 2002 UTC | |
---|---|---|
# | Line 10 | Line 10 |
10 | ||
11 | $dbh->dbh_do("set datestyle='german'"); | $dbh->dbh_do("set datestyle='german'"); |
12 | ||
13 | $sql="select date(date),time(date),stocks.type as type,current,change,high,low,open from stocks order by stocks.date desc limit 1"; | $sql="select date(date),date,stocks.type as type,current,change,high,low,open from stocks order by stocks.date desc limit 1"; |
print "$sql"; | ||
14 | $sth = $dbh->prepare("$sql"); | $sth = $dbh->prepare("$sql"); |
15 | $sth->execute(); | $sth->execute(); |
16 | if ($row=$sth->fetchrow_hash()) { | if ($row=$sth->fetchrow_hash()) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |