This is a discussion on mySQL / PHP: search for rows that contain "x" number of certain character...? within the Programming forums, part of the Web Designing & Development category; I've got some data in an SQL table that looks like: 5 5,1 5,2 5,1,1 5,1,2 5,3 5,1,1,1 I'd like ...
I've got some data in an SQL table that looks like:
5
5,1
5,2
5,1,1
5,1,2
5,3
5,1,1,1
I'd like to know if there's a way to search for rows that contain "one comma", "two commas", etc and store them to an array.
Bookmarks