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)
 Quick easy question...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bobby131313
Senior Member

USA
1163 Posts

Posted - 05 February 2008 :  19:36:55  Show Profile  Visit bobby131313's Homepage
if intPosts = 50 then


How do I make that kick in at 50 OR 1000?

Thanks in advance.

Switch the order of your title tags

weeweeslap
Senior Member

USA
1077 Posts

Posted - 05 February 2008 :  19:49:06  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I use this script on my website
If MemberID=3 or MemberID=15059 Then
and it works fine so try out
if intPosts=50 or intPosts=1000 then

coaster crazy
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 05 February 2008 :  19:56:22  Show Profile  Visit bobby131313's Homepage
I'll give it a shot.

For some reason I thought I remembered <> maybe meaning OR, but I not sure.

Something like maybe...

if intPosts = 50 <> 1000 then


Of course, I could be making all this up.

Thanks!

Switch the order of your title tags

Edited by - bobby131313 on 05 February 2008 19:57:38
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 05 February 2008 :  20:42:50  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I think if blah <> something then means if blah does not equal something then
but that's just my guessing

coaster crazy
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 06 February 2008 :  01:50:57  Show Profile  Visit HuwR's Homepage
if (intPost = 50) Or (intPost = 1000) then

<> means not equal

list of ASP operators http://www.tizag.com/aspTutorial/aspOperators.php
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 06 February 2008 :  09:27:47  Show Profile  Visit bobby131313's Homepage
Awesome. Thanks for the link Huw, I've bookmarked it.

Thanks all!

Switch the order of your title tags
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 06 February 2008 :  13:22:23  Show Profile  Send pdrg a Yahoo! Message
= is equal
< is less than
> is greater than
<= is less than or equal to
>= is greater than or equal to
<> is either greater than or less than (but not equal to)

:-) is a smilie
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07