Jump to content

explode mysql cell value


proctk

Recommended Posts

my is there a way to explode a cell value within a mysql statement

 

for example

 

("SELECT * FROM image_files WHERE details = 'Explode("-",details')Return array[2]'")

 

hope that kinda makes sense. I want to explode the value in column details at the "-" and get the third value sent in the array as it would if using the php explode feature.

 

any help is excellent

Link to comment
https://forums.phpfreaks.com/topic/61304-explode-mysql-cell-value/
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.