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

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

revision 1.2 by dpavlin, Sat Mar 3 09:27:38 2001 UTC revision 1.3 by dpavlin, Mon Mar 5 12:01:28 2001 UTC
# Line 46  if ($sql_where != "") { Line 46  if ($sql_where != "") {
46    
47  if (isset($search)) {  if (isset($search)) {
48    
49          $sth = $dbh->prepare("select distinct brand,form,generic,description,type,atc,town,smpc,have_smpc from products $sql_where");          $sth = $dbh->prepare("select distinct brand,form,generic,description,type,atc,town,smpc,have_smpc from products $sql_where order by brand asc");
50          $sth->execute();          $sth->execute();
51          while ($row=$sth->fetchrow_hash()) {          while ($row=$sth->fetchrow_hash()) {
52                  $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