/[corp_html]/new.php
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 /new.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by dpavlin, Thu Feb 22 09:51:19 2001 UTC revision 1.4 by dpavlin, Thu Feb 22 20:51:10 2001 UTC
# Line 47  if (file_exists(find_html_file("news",$m Line 47  if (file_exists(find_html_file("news",$m
47                  $sql_where.=" and id=$id ";                  $sql_where.=" and id=$id ";
48          }          }
49    
50          $sth = $dbh->prepare("select id,title,town_date,body,more,pdf from news $sql_where order by id desc");          $sth = $dbh->prepare("select id,upper(title) as title,town_date,body,more,pdf from news $sql_where order by date desc");
51          $sth->execute();          $sth->execute();
52          while ($row=$sth->fetchrow_hash()) {          while ($row=$sth->fetchrow_hash()) {
53                  $data[]=$row;                  $data[]=$row;

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

  ViewVC Help
Powered by ViewVC 1.1.26