select catid, category from cat
where catid = #catid#
select * from cdis
where cdid = #cdid#
select scid from subcat
where subcat = '#getcd.subcat#'
select cdid, subject, name, datesub, timesub, parent from cdis
where parent = #cdid#
order by cdid
Case Discussion
#subject# Posted By #name# Date : #dateformat(datesub)#
#timesub#Reply