Jump to content

jnull

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.longviewnet.com

Profile Information

  • Gender
    Not Telling

jnull's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you ... just perfect!
  2. I have the following select statement: SELECT * FROM `events` WHERE `Category` = "one" OR `Category` = "two" OR `Category` = "three" AND (`StartDate` BETWEEN "2011-06-30" AND "2011-07-05") ORDER BY `Category` It returns data for all date ranges in the categories specified, which is incorrect. If I only have SELECT * FROM `events` WHERE `StartDate` BETWEEN "2011-06-30" AND "2011-07-05" ORDER BY `Category` it returns nothing which is correct response. Can you give me any idea of what's up with the first select statement?
×
×
  • 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.