Mar 26, 2017
0
Level 1
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
Please or to participate in this conversation.