Jump to content

Query gets more than expected


bech64

Recommended Posts

When I run this query, It returns 'status' open or closed.  Any help would be greatly appreciated!

 

 

SELECT * FROM `ticket`

WHERE status = 'open'

AND helptopic = '* Tech Tuesday (Team 1)'

OR helptopic = '* Tech Tuesday (Team 2)'

OR helptopic = '* Tech Tuesday (Team 3)'

OR helptopic = '* Tech Tuesday (Team 4)'

Link to comment
https://forums.phpfreaks.com/topic/266808-query-gets-more-than-expected/
Share on other sites

I am off to a quick meeting, and then I will see if I can figure it out!

 

Unfortunately I am quick the hack. All I know, I have learned from trial and error, and picking apart stuff that works and trying to put it back together to fit my needs.

 

Thanks for your help and if I can't figure out what I need from the info you have given me, I'll be baaaack! :)

  • 2 weeks later...

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.