I am looking in one form or another for data in my columns
$search = Notificaciones::
where('canal', 'LIKE', '%'.$canal.'%')
->where('region','LIKE', '%'.$region.'%')
->where('cadena','LIKE', '%'.$cadena.'%')
->get();
This is working, my problem is that the columns are string and the data is divided by comma
example format
sur,centro,occidente
When I try to use for example SQL>..LIKE .. (sur,centro)
it does not show me anything even though in my table there is only centro
.
Someone knows how, even though I sent him a complete string, look in it as in the example, that I am sending a string separated by commas, but only one of those values is found in my column.