Mahaveer
5 months ago

WhereIn clouse not working after using dynamic variable.

Posted 5 months ago by Mahaveer

Hello all :)

it working fine without variable

$query->whereIn('country_exp', ['1,2,3'])

after using dynamic variable it not working. what is the main problem ?

$query->whereIn('country_exp', [$arr_country_exp])

Please sign in or create an account to participate in this conversation.