actually i have used functions like as follow
function selectBloodGroupNames()
{
return array("A+", "O+", "B+", "AB+", "A-", "O-", "B-", "AB-", "A1+Ve",
"Unknown");
}
the above function return list of blood group which can be formatted as per our idea like to display in a drop down or else in a table!!!
i have saved that function in a separate file called functions.php
how to use the same like in node.js in express module and in ejs or basic html template engine.