Thanks livpl7,
When i m creating ticket, i add one extra field AMC and create table(ost_amc) for same, columns are-
amc_id.
amc_name
start_date
expiry_date
......
so when i m creating ticket, so on submit i have to check AMC is valid or not,
by comparing current server date is between 'start_date' and 'expiry_date'.
plz tell mi what should be changes in code..