Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $filas=file('Avis.log');
- $results = collect([]);
- $array = [];
- foreach($filas as $llave => $v ){
- foreach (explode("<", $v) as $key => $value) {
- if ($value == $v) {
- $result = null;
- } elseif (strpos($value, ">") !== FALSE) {
- $results->push(substr($value, 0, strpos($value, ">")));
- $array[$llave][$key]=substr($value, 0, strpos($value, ">"));
- } else {
- $result = null;
- }
- }
- }
- dd($array);
- return view(GetDiseno('admin.uipath.index'))
- ->with("results",$array);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement