$row[0], // Adjust based on CSV structure 'column2' => $row[1], 'column3' => $column3, // This will handle invalid values ]); } }