I need to put checks in checkboxes that are associated with a given record. I'm getting a syntax error, and I'm not sure why. Any help would be appreciated. Here's the line where I'm getting the error:
Thanks
Code:
response.write cellstart & "<input type=""checkbox"" name=""opt"" " & if cint(rsOpt(& ""opt_id"" &)) = cint(qOpt(& ""opt_id"" &)) then & " checked=checked" & end if &" value="""& opt_id &""" />" & opt_name & "</td>"
Thanks