Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. @forelse($companies as $company)
  2. <div class="custom-control custom-radio">
  3. <div class="form-check">
  4. <input class="custom-control-input" type="radio" id="company-{{$company->id}}" value="{{$company->id}}" name="company_id" >
  5. <label class="custom-control-label" for="company-{{$company->id}}">
  6. {{$company->name}}
  7. </label>
  8. </div>
  9. </div>
  10.  
  11. $emailparts=explode('@',$userEmail);
  12. $companies=Company::select('companies.*')->whereRaw("SUBSTRING_INDEX(companies.email,'@',-1)='{$emailparts[1]}'")->get();
  13. ->select("company-".$companies->random()->id)
  14.  
  15. FacebookWebDriverExceptionNoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"body select[name='company-16']"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement