1 year ago

Phone Number Format

Posted 1 year ago by artisticre

I have this function that shows the users phone number but I am not sure how to format it as (xxx) 555-1212. Any help would be appreciated.

 $admin_applist = DB::table('employmentapplication')
    ->select('id','Fname', 'Lname', 'phone', 'email')
          return view('/admin')->with(compact('admin_applist'));

Please sign in or create an account to participate in this conversation.