For some reason my variable doesn't pass to my SMS function?
public function visitor_signin(Request $request)
{
$data = $request->first_name;
$mobile = $request->mobile;
SMS::send('text::invite', ['data' => $data], function($sms) {
$sms->to($mobile);
});
}
I get the error: Undefined variable: mobile
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1P4pEdY
via IFTTT
Aucun commentaire:
Enregistrer un commentaire