Parent Directory | Revision Log | Patch
revision 1.3 by dpavlin, Mon Mar 5 14:30:46 2001 UTC | revision 1.4 by dpavlin, Wed Mar 14 14:34:59 2001 UTC | |
---|---|---|
# | Line 75 if (isset($search)) { | Line 75 if (isset($search)) { |
75 | $sth->execute(); | $sth->execute(); |
76 | while ($row=$sth->fetchrow_hash()) { | while ($row=$sth->fetchrow_hash()) { |
77 | if ($show_animals) { | if ($show_animals) { |
78 | $sth2 = $dbh->prepare("select vet_animal_product.animal,name from vet_animal_product,vet_animal where vet_animal_product.animal=vet_animal.animal and smpc=$row[smpc]"); | $sth2 = $dbh->prepare("select distinct vet_animal_product.animal,name from vet_animal_product,vet_animal where vet_animal_product.animal=vet_animal.animal and smpc=$row[smpc]"); |
79 | $sth2->execute(); | $sth2->execute(); |
80 | unset($animals); | unset($animals); |
81 | while ($row2=$sth2->fetchrow_hash()) { | while ($row2=$sth2->fetchrow_hash()) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |