NatuScape
12-10-2002, 08:53 AM
Hi all!
A newbie here with a simple question... If I use:
<%
if FP_FieldHTML(fp_rs,"SkinHazards") = "Skin contact" then
Response.Write("checked")
else
Response.Write("unchecked")
end if
%>
Then I only get results if the field contains ONLY "Skin contact", I need it to go "checked" whenever there is "Skin contact" somewhere in the field. I tried using the LIKE operator that works with SQL or using *, but those were bad ideas!!
Help! Pretty please? Thanks!!
Natalia
A newbie here with a simple question... If I use:
<%
if FP_FieldHTML(fp_rs,"SkinHazards") = "Skin contact" then
Response.Write("checked")
else
Response.Write("unchecked")
end if
%>
Then I only get results if the field contains ONLY "Skin contact", I need it to go "checked" whenever there is "Skin contact" somewhere in the field. I tried using the LIKE operator that works with SQL or using *, but those were bad ideas!!
Help! Pretty please? Thanks!!
Natalia