Logusid's avatar

How to soundex in lumen. here i have tried but get error FatalErrorException in CourseRepository.php line 24: Can't use function return value in write context

Here is my code:

$coursename = Course::where(SOUNDEX($searchword)= SOUNDEX('Course.sName')) ->take(10) ->select('Course.sName','Course.pkCourse') ->get();

thank u in advance

0 likes
0 replies

Please or to participate in this conversation.