need to check if a variable is present inside a comma separated string in mysql field using querybuilder. I do this
<?php $parents = DB::table('categorie')->whereRaw('FIND_IN_SET("$categoria->id", parent)')->get(); ?>
but didn't return any value... Any idea?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire