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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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()) {

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

  ViewVC Help
Powered by ViewVC 1.1.26