Parent Directory | Revision Log | 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; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |