// get_val();
if(strcmp($_POST["page"],"main")==0)
{
$cultname=$_POST["cultname"];
$acc=$HTTP_POST["acc"];
$abbr=$_POST["abbr"];
}
else
{
$cultname=$_GET["cultname"];
$acc=$_GET["acc"];
$abbr=$_GET["abbr"];
}
db_connect(); //establish connection with the database
$rs_query=mysql_query(("SELECT FR_POL_SEC,FR_EQU_SEC,NB_TREES,FR_WEI,SD26,"
."SHELL_WEI,SD29,ENDO_THIC,SD30,"
."S_E_DR_MAT,SD31,HUSK_WEI,SD46,WATER_WEI,SD47,ENDO_WEI,SD48"
." from Fruit WHERE CULT_NAME='".$cultname."'"
." and ACCESS_NB='".$acc."' and ABBREV='".$abbr."'"),$conn);
$rs=mysql_fetch_array($rs_query);
?>
Cultivar Name
FRUIT CHARACTERISTICS |
|||
Fruit Shape | |||
Fruit polar section | $rs_pol_query=mysql_query(("SELECT MODALITY from code where FIELD_NAME='FR_POL_SEC' and CODE=".$rs["FR_POL_SEC"]),$conn); $rs_pol=mysql_fetch_array($rs_pol_query); if (!($rs_pol==0)) { ?> "> } else { ?> } ?> | ||
Fruit Equatorial section | $rs_eq_query=mysql_query(("SELECT MODALITY from code where FIELD_NAME='FR_EQU_SEC' and CODE=".$rs["FR_EQU_SEC"]),$conn); $rs_eq=mysql_fetch_array($rs_eq_query); if (!($rs_eq==0)) { ?> "> } else { ?> } ?> | ||
Fruit Component Analysis (FCA) | |||
No of trees analyzed | "> | ||
Fruit weight (g) | "> | SD | "> |
Husk weight (g) | "> | SD | "> |
Water content (ml) | "> | SD | "> |
Shell weight (g) | "> | SD | "> |
Endosperm | |||
Endosperm weight (g) | "> | SD | "> |
Endosperm Thickness (mm) | "> | SD | "> |
Solid endosperm dry matter content (%) | "> | SD | "> |