Jump to content

Include and Exclude


Face

Recommended Posts

Hi,

 

I've got a column (serialcat) in table (serial) which contains a combination of characters - axzyodu.

 

These characters could be in any order for each row. What I want to do is to display all rows that contain 'o' or 'd' but not 'y' in the serialcat column.

 

So I'd expect back examples of :

axdo

xuod

zoda

oax

xdu

etc.....

 

Any help appreciated.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/3061-include-and-exclude/
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.