Parent Directory | Revision Log | Patch
revision 1.5 by dpavlin, Sat Mar 17 16:02:19 2001 UTC | revision 1.6 by dpavlin, Sat Mar 17 16:14:17 2001 UTC | |
---|---|---|
# | Line 32 if ($part == "analyst") { | Line 32 if ($part == "analyst") { |
32 | } else { | } else { |
33 | $dbh->dbh_do("set datestyle='german'"); | $dbh->dbh_do("set datestyle='german'"); |
34 | ||
35 | $sql="select date(date),time(date),type,current,change,high,low,open from stocks order by stocks.date desc,stocks.insert_date desc limit 2"; | $sql="select date(date),time(date),type,current,change,high,low,open from stocks order by stocks.date desc,stocks.insert_date asc limit 2"; |
36 | $sth = $dbh->prepare("$sql"); | $sth = $dbh->prepare("$sql"); |
37 | $sth->execute(); | $sth->execute(); |
38 | while ($row=$sth->fetchrow_hash()) { | while ($row=$sth->fetchrow_hash()) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |