I need to execute a stored procedure after my form submits data. I have the stored procedure working like I want it, and I have my form working properly. I just do not know the statement to execute the sp from laravel 5.
it should be something like this: execute my_stored_procedure. but I can not seem to find anything like that online.
via Chebli Mohamed
\DB::statement('call STORED_PROCEDURE(' . $var_if_necessary . ', "'.$var2_if_necessary.'")');
RépondreSupprimer