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

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

revision 1.2 by dpavlin, Wed Feb 21 15:52:31 2001 UTC revision 1.3 by dpavlin, Thu Feb 22 20:51:10 2001 UTC
# Line 31  if (isset($id)) { Line 31  if (isset($id)) {
31          $sql_where.="and id=$id";          $sql_where.="and id=$id";
32  }  }
33    
34  $sth = $dbh->prepare("select id,title,date,body,pic from news $sql_where order by id desc");  $sth = $dbh->prepare("select id,title,date,body,pic from news $sql_where order by date desc");
35  $sth->execute();  $sth->execute();
36  while ($row=$sth->fetchrow_hash()) {  while ($row=$sth->fetchrow_hash()) {
37          $data[]=$row;          $data[]=$row;

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

  ViewVC Help
Powered by ViewVC 1.1.26