Jump to content

using greater than but adding a limit


TEENFRONT

Recommended Posts

Hey

 

im using the > sign to do some selecting in mysql...  is there a way to do WHERE x > y  but "within" 50 either side?

 

im using it to select websites to share traffic with and its WHERE hits_in > hits_out  so sites who i owe traffic do are sent traffic..but id like to add a buffer of 50 to it if that makes sense...is this possible or should i do it another way?

Link to comment
https://forums.phpfreaks.com/topic/141978-using-greater-than-but-adding-a-limit/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.