Buon anno nuovo.
Come mai questa condizione non funziona?
Anche quando CBool(objRS("ti")) = TRUE mi restituisce ti=false.![]()
Codice PHP:<%
if CBool(objRS("ti")) = TRUE then
response.write "ti=true"
if CBool(objRS("ti")) = TRUE then
response.write("<input type='checkbox' name='ti' value='checkbox' checked>")
else
response.write("<input type='checkbox' name='ti' value='checkbox'>")
end if
else
response.write "ti=false"
if CBool(objRS("tr")) = TRUE then
response.write("<input type='checkbox' name='tr' value='checkbox' checked>")
else
response.write("<input type='checkbox' name='tr' value='checkbox'>")
end if
end if
%>

Rispondi quotando