Created
February 23, 2022 11:53
-
-
Save AzadGh95/8b61425ce3286b257d439f5abf3f8dba to your computer and use it in GitHub Desktop.
push data in array in laravel for loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fileNames = array(); | |
foreach ($attachments as $file) { | |
$fileNames[] = $file->name; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment