Level 55
@swarley_himym you use single quoute for wrapping statement and value. use double quotes for one of them
$database = DB::connection("mysql_absen")->select(DB::raw('CALL `get_attendance_total_by_location`(@p0); SET @p0="%12-10-2021%"'));
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
what's wrong with my query procedure
$database = DB::connection("mysql_absen")->select(DB::raw('CALL `get_attendance_total_by_location`(@p0); SET @p0='%12-10-2021%''));
i got error like this
ErrorException
A non-numeric value encountered
Please or to participate in this conversation.