Académique Documents
Professionnel Documents
Culture Documents
INTRODUCTION
Traditional husbandry practices are closely associated with the degree of control
needed over the animals have multiple uses; for example, animals are kept
primarily, for work also supply milk, meat and nothing materials. The animal,
and their uses, however, are closely associated with the culture and experience of
the people who care for them.
In some regions of the world, cattle are not considered for use in the production
of food. Studies have shown that the work power, fertilizers, milk and the fuel
from dung that the cattle provide. In these regions are more efficient animal
products than meats. Analysis of other cultural practices has often revealed
unexpected efficiency of use fitted to local circumstances.
1
ICT can enhance knowledge sharing and improve access to information
(Hendriks, P., 1999). While in agriculture, extension officers are responsible in
conveying knowledge and scientific findings to rural areas for the purpose of
improving the lives of rural livestock keepers (Blum, A. et al., 2009). In other
term are refereed as intermediate channel between a farmer and a researcher.
Apart from that, they also involve in animal husbandry, help farmers to create
working groups and cope with other challenges such as marketing (Davis, K.E.,
2009).
It is very unfortunate that the technology potentials have not been fully or even
adequately realized in the field of farm management information. Very little farm
managers has grabbed this powerful it opportunities. This has put managers and
2
researchers behind. Some of the problems militating against high decision
performance and achievement of management goals are as follows:
The objective of this research work is basically to provide the Nigeria farmers in
general and especially Federal College of Agriculture farm manager with the
effective, efficient, accurate and timely form of management information system.
That is to replace manual management information system with computerized
management information system. The researcher hopes to achieve the following
after this research;
3
1.4 Significance of the Study
In the event of the above mentioned faults and errors discovered in the manual
system. It is believed that the introduction of a computerized system of MIS will
change the whole the operation of FCAI livestock farm positively. It will totally
eliminate the inherent problem which will in turn bring about immense cash value
to the college farm.
It will definitely expose and enlighten the staff and managers of farm in FCAI on
what they supposed to know about their management. In addition, it will bring
about more noticeable contribution and improvements to livestock farmers
nationwide to be able to defined their problems and find out the solution to their
farm management issues.
Though the researcher restricted the study to FCAI livestock farm, the result of
the findings will be of immense benefits to all Nigeria farm managers and as well
to students conducting similar research work on the same or related topics.
In the study of this nature, one would like to accumulate information from many
areas, but, in the view of the time given for this research such a wide range could
not be reached. The researcher therefore, concentrated on the management
information of poultry livestock in Federal College of Agriculture Ishiagu.
4
Information Overload – A situation in which the sheer amount of information
in a system is simply too great to be coped with by the information management
available. It is overflow of information which slows down decision performance.
Farm: A place where agricultural and similar activities take place, especially the
growing of crops or the raising of livestock.
Poultry are domesticated birds kept by humans for their eggs, their meat or their
feathers. These birds are most typically members of the superorder Galloanserae,
especially the order Galliformes.
5
CHAPTER TWO
LITERATURE REVIEW
In some regions of the world, cattle are not considered for use in the production
of food. Studies have shown that the work power, fertilizers, milk and the fuel
from dung that the cattle provide. In these regions are more efficient animal
products than meats. Analysis of other cultural practices has often revealed
unexpected efficiency of use fitted to local circumstances.
A study of Swedish precision farmers confirmed the need for a user-centered farm
information system in information- and technology-intensive farms (Norros, et
al., 2009).
Norros et al. (2009) utilized the Internet for the communication method with
potential users. A scenario video describing the system’s key functional features
was available to anyone online with the evaluation questionnaire to provided
feedback to the developers. Some for the main results from this survey uncovered
user needs including tools to evaluate the effects of different cultivation practices,
analysis of existing farm data, tools to evaluate the influence of a certain
cultivation practice on the whole farming business, methods to improve farming,
and others (Pesonen, et al., 2008).
6
Following this, Pesonen et al. (2008), gave recommendations and guidelines for
a novel, intelligent, integrated information and decision support framework for
planting and control of mobile working units which they implemented in the
InfoXT project. They defined farmers’ attitudes towards their work and
profession to formulate the coretask-based system usability claims (Pesonen, et
al., 2008). Their evaluation methods focused on the system performance rather
than individual user interface (UI) components. The system evaluators were
expected to have considerable experience and insight into the domain area
(Norros, et al., 2009). After system validation and extensive analysis, they
concluded that information management systems in mobile plant production
environments should be internet-based with an open interface, and that farm data
saved in a central database should be accessible to the farmer through internet
servers (Pesonen, et al., 2008).
The European Union funded FutureFarm project identified the information model
for six field operations (tillage, seeding, fertilizing, spraying, irrigation, and
harvesting), and selected the information model for fertilization for analysis. The
project specified the data provided and the information required for decision-
making and used this to derive the flow of information which, in turn, resolves
the design of the system. The analysis of the information model focused on the
farmer as the primary decision maker (Sorensen, et al., 2010).
7
markets becoming more competitive, farm managers must push their operations
to maximum efficiency.
Sorensen et al. (2010) also developed an engagement web (Figure 2) from the
farm manager’s point of view with the circular gray dashed line representing the
farm system boundary, and the darker gray dashed oval representing the system
boundary for the production of crops.
While the farm manager is not likely to deal with all of these issues at once, many
of these issues can be arranged into successive and parallel tasks. Many farm
production processes and their sub-processes are diverse in nature and require the
management to balance individual tasks within the seasonal farm plan (Pesonen,
et al., 2008). For example, spring tillage and planting are performed in succession
8
on a field basis, but they are often performed in parallel across the farm. Spring
planting requires a succession of tasks such as ordering seed and fertilizers, seed
bed preparation, coordinating resources and more. Each task demands the
attention of someone on the farm and can change priority based on weather,
resources available, and the completion of previous tasks.
Farm management requires numerous decisions of various kinds, and most have
many implementation options (Sindir, 2006). Typically the farmer deals with
very complicated information flow paths since information comes from several
sources (Pesonen, et al., 2008; Sorensen, et al., 2011).
Nurkka et al. (2007) indicated that the management of information and decision-
making are the core issues for successful farming. Nurkka et al. (2007) and
Murakami et al.(2007) indicated data acquisition is not a hindrance for precision
agriculture. While Sorensen et al. (2010) point out that the use of computers and
the internet has improved the task of handling and processing information, it
remains a demanding task for the farm managers. They emphasize that there is
potential of integrating various data sources when suitable information systems
are developed and these should improve management practices. A variety of
9
LFMIS have been available to farmers, but unfortunately, the adoption of these
systems has been relatively slow compared to other popular consumer-grade
information and communication technologies.
A simple UI
Scalability
Low cost
10
Fulton et al. (2013) echoed many of these same requirements based on a survey
of farmers from the Midwestern and Southern United States and agriculture
professionals nationwide during the winter of 2012/2013. They also elaborated
on some desires and requirements from growers:
Automatic wireless data transfer between machines and with cloud storage so
data is stored in a single location
When considering the core tasks of farm recordkeeping software, Pesonen et al.
(2008) identified the following steps when focusing on managing field
operations:
In recognizing the various information sources, Pesonen et al. (2008) stated that
these various sources needed to be easily integrated and combined for different
analyses.
11
Murakami et al. (2007) noted that a simple UI was an important requirement
when designing an LFMIS. More specifically, Haapala et al. (2006) concluded
that the information presentation and consistency with UI components was
critical. They recommended that only information necessary to carry out a task
should be presented to the user, and information needed to be presented in a
logical order. They also recommended that icons needed to be designed such that
they had a clear meaning with respect to the task at hand. They found that
inconsistency and lack of clarity, as well as poor choice of icons and language
were likely sources of usability problems (Haapala, et al., 2006).
Technologies are identified here which build on the idea that new services and
technologies can be added to the system as they become available. Independently
developed services from other interested parties, assuming they are built upon the
same concepts and hosted externally, can complement an open-nature of system
as envisioned in this research project.
Data specific to the farm is possibly the most valuable source of information to
support decision-making (Sindir, 2006). Thus, the keys to the success of any
LFMIS are accurate and timely generation and access to this data. Fortunately,
useful data already exists, albeit in many forms within typical agriculture
production systems. Understanding this variety of sources is necessary to enable
specialization of an LFMIS within a farm (Welte, et al., 2013 a.).
12
2.5.1.1 Manual Data Entry
The simplest method of data collection is manual input. This traditionally consists
of handwritten notes made with pen and paper. Long, standardized forms can
overwhelm operators if particular attention is not paid to the user experience.
Providing simple, specialized apps for a variety of data entry tasks is crucial to
getting standardized, minable data into the cloud where it can be put to use. Most
people will not use mobile devices for data entry if such a switch entails more
work, higher learning curves, and longer entry times than their existing system.
Therefore, each data collection task should be automated to the extent possible.
By making data entry faster and simpler than pen and paper, data in the cloud will
be both more complete and more correct than inaccessible stacks of paper
notebooks. Examples of manual data entry include:recording field, operator, rate,
and tank number as anhydrous ammonia is applied,
recording chemical mix, field, and date that a pesticide was applied, and recording
seed variety, fertilizer, and area during planting (Welte, et al., 2013 a.).
13
communications standard progresses, this hurdle is reduced but not yet
eliminated.
While Bluetooth is not the ideal communications platform for sensor networking,
it is generally inexpensive and widely implemented in smart phones. Sensors with
relatively low data rates, such as ID tags and contact sensors can be easily
retrofitted on existing machines and implements to provide information to
autogenic algorithms (Welte, et al., 2013 a.).
The following section identifies a few machinery data projects and devices.
14
Implement Identification Tags
Many types of useful information for LFMIS are already publicly available
online. However, accessing this data is sometimes quite difficult due to a lack of
application programming interfaces (API), and a general lack of data format
standards. LFMIS which can utilize data which does not need to be manually
collected will greatly facilitate adoption and increase its ability to provide useful
analysis.
Some examples of potentially useful data available within the United States
include:
Soil data: Available from the USDA NRCS Web Soil Survey (USDA Natural
Resources Conservation Service, 2013). It consists of geo-located polygons
representing the survey map units, and tabular data with soil attributes to which
the polygons are referenced.
15
Light Detection and Ranging (LiDAR) Elevations: This extremely precise,
remotesensed elevation data is available from the Open Topography project
(OpenTopography, 2013). Most LiDAR data has a horizontal resolution of 1.5
meters or less, but only 28% of the United States excluding Alaska was covered
as of 2011 (National Oceanic and Atmospheric Administration (NOAA) Coastal
Services Center, 2012). Potential issues with this high resolution data include data
conditioning and delivering specific data sets to mobile devices (Noel, 2014).
Common Land Units (CLU): “A Common Land Unit (CLU) is the smallest
unit of land that has a permanent, contiguous boundary, a common land cover
and land management, a common owner and a common producer in agricultural
land associated with USDA farm programs. CLU boundaries are delineated from
relatively permanent features such as fence lines, roads, and/or waterways“.
Cropland Data Layer (CDL): This remotely sensed georeferenced raster data
depicts detailed information on crop and non-crop land use to explore landcover
and land-use change in the contiguous United States (Han, et al., 2014).
16
2.5.2 Data Transfer
Bluetooth
It has been built into billions of mobile devices and an ever expanding list of other
products including cars, medical devices, computers, and many more (Bluetooth
SIG, Inc., 2013).
The Bluetooth Special Interest Group (SIG) recently released the Bluetooth 4.0
specification, Bluetooth Low Energy (BLE), to simplify the Classic protocol and
eliminate some Classic features. These changes enabled battery-powered mobile
devices with BLE to achieve power savings necessary to extend the battery power
(Balmos, et al., 2013).
Wi-Fi
The Wi-Fi term is actually a certification for wireless local area network (WLAN)
devices (Wi-Fi Alliance, 2014). The Wi-Fi Alliance (2014) specifically defines
Wi-Fi as any “WLAN products that are based on the Institute of Electrical and
Electronics Engineers’ (IEEE) 802.11 standards.”
17
Wi-Fi technology is another extremely popular wireless data transfer technology
with consumers. It uses radio wave transmissions for medium range data transfer
and is a very common networking solution for homes, businesses, schools,
airports, cafes, and more. Nearly all consumer-grade mobile devices have a Wi-
Fi modem built in from the device manufacturer.
Cellular data networks allow mobile devices to connect to the internet when a
Wi-Fi connection is not available. The range of cellular data network signals can
reach beyond 8 km (five miles) from the cellular network tower in rural areas. In
the United States, cellular data providers include AT&T, Verizon, Sprint, and
others, and require each user purchase a data plan. The common cellular network
technologies include GSM, CDMA, and LTE. These technologies are widely
available in the United States with varying connection reliability and transfer
speed depending on the provider’s coverage in theuser’s area (Miser, 2012).
Many device manufacturers build products with cellular modems built in, and it
has become a very popular technology in consumer-grade mobile devices.
The potential for network interruptions is a major risk for a LFMIS. A network
disruption is more likely to be caused by lack of network availability than by a
network failure at the provider’s end. This type of interruption is unlikely because
the service is likely maintained by professionals. A user would be unable to access
the internet-based services in the event of network disruption regardless of its
cause. The risk can be mitigated by enabling the user to load critical data to the
mobile device when a connection is available to avoid major issues (Pesonen, et
al., 2008).
18
CHAPTER THREE
This has to do with the specification of procedures for collecting and analysing
data necessary to define or solve the problem for which the research is embarked
upon. The scope of this research covers the development of an online livestock
information management system.
This involves oral interviews conducted with the staff in charge of the poultry
unit of Federal College of Agriculture Ishiagu, receiving and sharing their
experience about the difficulties they undergo in using the manual information
system.
The existing system is one that has been manually operated over the years. It is a
system in which all the methods controlling livestock management information
is of a manually approach. Critical analysis of this system reveals that is prone to
19
errors. Careful analysis also shows that due to the complexities of the manual
system, records of livestock, feeds and so on kept are inaccurate and manually
operated in such a way that requires the staff in charge of the unit to register vital
information on a book, thereby making a staff handle two or three jobs at a time.
This involves finding the objective and scope of study. It may require contribution
from both existing system and proposed system. Therefore, we can define system
investigation as a thorough study carried out with aim of understanding the
existing system and to identify the basic information requirements. In this
research work system investigation help the research to identify the bottle neck
and inefficiency of manual farming. The use of manual method of operation in
the area of performance of animals and crops cannot be improved because the
performance of animals in the herd or flock for the breeding cannot not be
properly documented. This method of implementation requires adequate records
of their offspring and health welfare. Therefore, using manual method of
operation in keeping the records of animal could be cumbersome and may also
lead to misrepresentation of the good improved animal result to the ones that are
not improved. Therefore, the new system will be a computerized livestock
management information system that would help automate the activities of FCAI
livestock farm especially the poultry unit.
20
3.3.1 System Analysis
The system analysis will provide a physical outlook of the farm management
system which shows the hardware, software, and operating procedures of the
system. This will make the logical design of the farm management software a
reality.
This system analysis also involves the finding of problem associated with manual
system as regard to the design of software and also the modification of the manual
method of farming. The purpose of system analysis is to define the requirement
of the new system in order to design and deliver good information.
The input device is concerned with equipment and procedures used in entering
data into the system during agricultural processing activities. The items of the
input are specified in the file design where the user interface data entering
procedures are determined. The software uses a dialogue style and its menu
driven with modules of programming techniques for user friendliness. Also it
uses initiated interface where the table of the available pigs are called up to the
screen. The major two types of input devices are
21
1. the file design
The data entry design is in the manner in which data are initially entered into the
software system. The new system uses batch processing and entry is made
through terminals. The output is the result of the values inputted in the computer
system by the user, which is mainly displayed on the monitor the output is used
to determine the input and processing procedures of initialed by the operator.
22
procedure being brought into a workable state. The purpose of this designing
state is the develop specification for each of the components of the system.
(hardware, software, procedure, people) the feasibility study stage, investigation,
analysis, etc services as input to the design processor, system design can be
further directed into two namely.
(1) Logical design: this lays down the component of the system and the
relationship to each other as they would appear to the user of defines the
input the output as well as the processing functions to be performed,
business procedures, models and control.
(2) Physical design: this is the process of translating the abstract logical model
into the specification technical design for the new system. It provides the
actual specification for software physical database, input and output
media, manual procedure and specific control. This proposed system is
carefully constructed data flow diagrams.
23
Table 3.2 INPUT DESIGN AND FIELD DESCRIPTION LAYOUT
Input design is the modification of some input in a way as to suit the data
processing system. The input specification includes.
(i) Bird ID: This field is used to give a unique identification to each bird in
the database.
(ii) Breed: The birds recorded fall into four breed categories which include
broilers, layers, cockerels and canis.
(iv) Health status: Describes whether a bird is sick, active, under treatment or
quarantined
Output Format
The major output from the system would include the result generated from a
transaction or by running a query to display the number of birds and feeds
available in the database.
24
3.6 Advantages of the proposed system
It provides better services to the public and users making record keeping easy.
25
3.7 System Flow Chart
Processing of data
(CPU)
Display inputs
from keyboard
(VDU) Printing of the outputs
(printer0
26
CHAPTER FOUR
27
enable them to access, retrieve proceeds and store important records of
poultry more efficiently.
In implementation of any new proposed system, there is need to ensure that all
needed aids to keep this new system working is put into consideration. This is
because since this is a new system, which means that the staff of the whole
organization is new users, there is need to teach them on how to raise the system,
because after implementation, it is left for them to start implementation. There
exist some implementation components which includes.
28
By computerization of agricultural research analysis, files relating to this will
look neater than the manual ones.
In master file conversion, there exist several methods of changing from the old to
the new system. These methods are illustrated below:
a) Parallel conversion: This involved moving the old and new system
together.
b) Phased conversion: This involved converting only a portion of the system
until it is sure that the new system performs corrected gradually until either
a problem is encountered or all the system is converted.
c) Pilot conversion: This is a process of implementing all of the system in
just a part of the works correctly and then converting the remaining
portions.
In using the parallel method of master file conversion, it is very clear that the cost
of using both (old and new) at the same time would be much but this seems to be
the easiest method. And since the old system would be sued for a very short time
before changing finally if the new system proves better. It is proposed that in cost
of running both would not be discouraging.
For effective operation of the newly designed system, the following minimum
hardware specifications are recommended:
a) The computer system to use should be 100% IBM compatible since they are
considered done systems.
29
d) The system should have a hard disk of at least 50GB
The listed configurations are the minimum requirements, but if the configurations
are of higher versions, the processing derived will definitely be better and the
program will run faster.
30
CHAPTER FIVE
5.1 Summary
Furthermore, critically analysis of the farm management system has been taken
care of. It will interest to know that other areas of the manual and computerized
system were distinguished with certain specific features.
During the course of this research we had a case study (FCAI livestock farm). It
does its operations manually and the purpose of this research was to computerize
its operations. To achieve this, the existing system had to be studied (system
investigation and analysis) to know how things are done and the
shortcomings/errors they encounter and a result theory of inventory management
to know what concepts will be most appropriate to enhance the efficiency of the
farm.
5.2 Conclusion
31
5.3 Recommendation
i. The farm management (and every other farm still employing manual
system of management) should engage in the uses of computerized
farm management system.
iii. The management should therefore ensure that all the staff involved
in the using of the new system is knowledgeable enough to operate
the system by undergoing trainings.
v. The system or style of replacing the old system with the new should
be a parallel system of replacement or change over. This will
implement the new system by a gradual change over method.
32
REFERENCES
Balmos, A.D., A.W. Layton, A. Ault, J.V. Krogmeier, and D.B. Buckmaster.
2013. Investigation of Bluetooth Communications for Low-Power
Embeded Sensor Networks in Agriculture. ASABE Paper No.
131620559. St. Joseph, Mich.: ASABE.
Batte, M.T., E. Jones, and G.D. Schnitkey, Computer use by Ohio commercial
farmers. American Journal of Agricultural Economics, 1990. 72(4):
p. 935-945.
Chad. FSA Farm Field Borders (CLU). July 26, 2013. Available at:
http://support.agridatainc.com/FSAFarmFieldBordersCLU.ashx.
Accessed December 2013.
Darrh Bullock, L.v.R., Jim Akers, and Alison Smith, Record Keeping. 2009,
Kentucky.
Frank Hartwich, M.O., Jeremiah Temu, Tanzania’s Red Meat Value Chain.
2012, UNIDO (2012).
Fulton, J., A. Brook, and S. Virk. Data Management at the Farm Level: 2013
Update. Alabama Cooperative Extension System, 2
33
Hendriks, P., Why share knowledge? The influence of ICT on the motivation
for knowledge sharing. Knowledge and process management,
1999. 6(2): p. 91-100.
Huting, Kathy. "Fire Up That Smartphone." Farm Industry News, January 2014:
8-10.
ISOBlue. 2013. Available at: http://isoblue.org/.
Murakami, E., A.M. Saraiva, L.C.M., Jr. Ribeiro, C.E. Cugnasca, A.R. Hirakawa,
and P.L.P. Correa. An Infrastructure For The Development of
Distributed Service-Oriented Information Systems for Precision
Agriculture. Computers and Electronics in Agriculture, 2007: 37-48.
Nurkka, P., L. Norros, and L. Pesonen. Improving Usability and User Acceptance
of Information Systems in Farming. EFITA/WCCA Joint Congress
in IT in Agriculture. Glasgow, 2007.
Rabin, M.I., Apparatus and method for record keeping and information
distribution. 2003, Google Patents.
34
Solomon Abegaz, K.A., Alemu Yami, Girma Abebe, and S.Z.a.A. Hirpa,
Records and Record Keeping. CHAPTER THIRTEEN.
35
APPENDIX I
PROGRAM INTERFACE
36
37
38
APPENDIX II
<div class="container">
<div class="row" style="margin-top: 10%">
<div class="form-group">
<label class="control-label">Admin
Password</label>
<input type="password" name="password"
class="form-control input-sm" required>
</div>
<?php
if (isset($_POST['submit'])) {
$username = trim($_POST['username']);
$password = $_POST['password'];
$hash = sha1($password);
39
$count = $q->rowCount();
$rows = $q->fetchAll(PDO::FETCH_OBJ);
$_SESSION['id'] = $user_id;
$_SESSION['user'] = $user;
header('location: dashboard.php');
}
}else{
$error = 'incorrect login details';
}
if(isset($error)){ ?>
<br><br>
<div class="alert alert-danger alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-
label="close">×</a>
<strong><?php echo $error; ?>.</strong>
</div>
<?php }
?>
</div>
</div>
</div>
<?php
$pCount = $uCount = $bCount = $qCount = '';
40
$quer = $db->query("SELECT * FROM breed");
$bCount = $quer->rowCount();
?>
41
</div>
</div>
<div class="w3-quarter">
<div class="w3-container w3-orange w3-text-white w3-padding-16">
<div class="w3-left"><i class="fa fa-users w3-xxxlarge"></i></div>
<div class="w3-right">
<h3><?php echo $uCount; ?></h3>
</div>
<div class="w3-clear"></div>
<h4>Users</h4>
</div>
</div>
</div>
<?php include 'setting/system.php'; ?>
<?php include 'theme/head.php'; ?>
<?php include 'theme/sidebar.php'; ?>
<?php include 'session.php'; ?>
<div class="col-md-6">
<?php
if(isset($_POST['submit']))
{
if(isset($_FILES['birdphoto']['tmp_name'])){
$n_birdno = $_POST['birdno'];
$n_weight = $_POST['weight'];
42
$n_arrived = $_POST['arrived'];
$n_breed = $_POST['breed'];
$n_remark = $_POST['remark'];
$n_status = $_POST['status'];
$n_gender = $_POST['gender'];
$res1_name = basename($_FILES['birdphoto']['name']);
$tmp_name = $_FILES['birdphoto']['tmp_name'];
$type = $_FILES['birdphoto']['type'];
$max_size = 2097152;
$size = $_FILES['birdphoto']['size'];
if (isset($res1_name)) {
$location = 'uploadfolder/';
$move = move_uploaded_file($tmp_name,
$location.$res1_name);
$path1 = $location.$res1_name;
if (!$move) {
$fileerror = $_FILES['birdphoto']['error'];
$message = $upload_errors[$fileerror];
}
}
}
if($insert){?>
<div class="alert alert-success alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-
label="close">×</a>
<strong>bird successfully created <i class="fa fa-check"></i></strong>
43
</div>
<?php
}else{ ?>
<div class="alert alert-danger alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-
label="close">×</a>
<strong>Error creatiing bird data. Please try again <i class="fa fa-
times"></i></strong>
</div>
<?php
}
?>
<div class="form-group">
<label class="control-label">bird Weight</label>
<input type="text" name="weight" class="form-
control" required>
</div>
<div class="form-group">
<label class="control-label">Gender</label>
44
<select name="gender" class="form-control"
required>
<option value="male">Male</option>
<option value="female">Female</option>
</select>
</div>
<div class="form-group">
<label class="control-label">Health Status</label>
<select name="status" class="form-control" required>
<option value="active">Active</option>
<option value="inactive">Inactive</option>
<option value="on treatment">On
treatment</option>
<option value="sick">Sick</option>
</select>
</div>
<div class="form-group">
<label class="control-label">Breed</label>
<select name="breed" class="form-control" required>
<option value=""></option>
<?php
$getBreed = $db->query("SELECT * FROM breed");
$res = $getBreed->fetchAll(PDO::FETCH_OBJ);
foreach($res as $r){ ?>
<option value="<?php echo $r->id; ?>"><?php echo $r-
>name; ?></option>
<?php
}
?>
</select>
</div>
<div class="form-group">
<label class="control-label">Description</label>
<textarea class="form-control" name="remark"
required></textarea>
</div>
<div class="form-group">
<label class="control-label">bird photo</label>
45
<input type="file" name="birdphoto" class="form-
control" required>
</div>
46
$c = $qpi->rowCount();
47