Support the ongoing development of →
Input Eloquent Validation
Last updated 2 years ago.

Found it! This is what I ended up doing.

$results = Excel::load($filename)->get(); 
$var = 0; 
foreach($results as $rows)
  $rowYouNeed = $row->field; 
  if($rowYouNeed != null){
   $var = $row->field; 
  $rowYouNeed = $var; 

Hope this saves someone a headache.


Sign in to participate in this thread!


Your banner here too?

omaromp2 omaromp2 Joined 21 Jul 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.