Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Bit: True/False or 1/0?
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 31 December 2004 :  10:21:23  Show Profile  Visit D3mon's Homepage
trouble with that is you'll get a problem if somehow a non-numeric value comes thru. You might try:

if isnumeric(request.form("blah")) then
  myVariable = request.form("blah")
  if myVariable <> 1 then myVariable = 0
else
  myVariable = 0
end if


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 31 December 2004 10:22:15
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07