/[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.4 by dpavlin, Tue Feb 5 10:03:51 2002 UTC revision 1.5 by dpavlin, Mon Mar 25 12:30:45 2002 UTC
# Line 11  Line 11 
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),time(date),stocks.type as type,current,change,high,low,open from stocks order by stocks.date desc limit 1";
14            print "$sql";
15          $sth = $dbh->prepare("$sql");          $sth = $dbh->prepare("$sql");
16          $sth->execute();          $sth->execute();
17          if ($row=$sth->fetchrow_hash()) {          if ($row=$sth->fetchrow_hash()) {

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

  ViewVC Help
Powered by ViewVC 1.1.26