/[corp_html]/inc/stocks.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /inc/stocks.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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()) {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.26