mysql select query within a serialized array

前端 未结 14 1335
忘了有多久
忘了有多久 2020-11-29 07:51

I\'m storing a list of items in a serialized array within a field in my database (I\'m using PHP/MySQL).

I want to have a query that will select all the records that

14条回答
  •  南笙
    南笙 (楼主)
    2020-11-29 08:06

    For easy method use :

    column_field_name LIKE %VALUE_TO_BE_SEARCHED_FOR%
    

    in MySQL query

提交回复
热议问题