Jump to content

Pulling a list from comma seperated text


Merdok

Recommended Posts

Ok I'm sure this is a simple thing using explode or something but my brain is frazzled and I need to finish this before I get to sleep.

 

I've got a table with several entries per row... one of the entries is a list of skills, I need to extract these skills from the row, seperate them, compare them to a list of skills and then highlight the ones that match.

 

The end result should look like this:

 

64886261-dbeeb4b7ddab2f39942af60a67132f22.4b7457b5-full.png

 

As I said, I'm sure the end answer is simpler than I'm making it. I just have lost the capacity of though at the moment.

Actually now I think about it, its probably going to be simpler to create a skills table and assign skills to users. Still to fuzzy to put it together though.

 

When the coffee doesn't work its time to go to bed... when you can't go to bed because you need to get paid thats when you beg for help :)

Cheers mate, Got it sorted in the end, Once I'd ignored the urge to sleep and made a particularly strong coffee I decided to split the skills column into a table and match it that way. Better to make it dynamic as then its future proof :)

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.