Hi Guys...

This query may be irreverent to this forums....if it is please pardon
me......
In my form there is one option to chose the entire year...

#######
<TD WIDTH="650" ALIGN="LEFT" bgcolor="#ffffee"> <INPUT TYPE="RADIO"
NAME="PERIOD" VALUE="Y" checked>
Choose an <b>Entire Year</b>: <i>(only years with recorded usage will
display)</i>* $hDATA1::YEAR*
</TD>
#########

when the user choose the date ....the range may be fetched from the database
and assigned to the $date_year variable,and the following if loop will be
executed in the cgi script.

Please let me know the exact functionality of *$hDATA1::YEAR *in this
form???????How does it work???



###############
 if ($period eq "Y") {
        $date_from = "01/01/$date_year";
        $date_to = "12/31/$date_year";

    }
###########


Thanks and Regards,
Ela

Reply via email to