I have a website with a MySQL database which users can search against that uses PHP.
I’m just a beginner and supporting this after an IT colleague developed it originally, but unfortunately don’t have access to ask for their help any more.
The issue is that on selecting some of the search criteria via the site some of the results are not being returned correctly. The majority are working and returning the results as expected, however there are 2 specifically which don’t (NCCD Results and IGS Results). Selecting values to search against in these 2 fields does return results but they don’t match up with the records of the value searched against.
I’ve included the whole page of code below as not sure which bit is most appropriate.
Any help would be much appreciated.
Beagle Health Search
To begin your search please populate at least one of the following fields: |
Name: |
|
Owner: |
||
Sex: |
All
<?php
include_once("consts.php");
|
To view the entire list please leave the search fields empty and click the search button.
Your search found no results. Please enter a new search. |
---|
Displaying “; echo $Count-1; echo” Results |