trying to add strings in a file on the same line using Storage::disk('local')->append() method but in the output file i'm getting each strings on new line
what i did is:
$string = "first-";
Storage::disk('local')->append('filename', $string);
$string = "second";
Storage::disk('local')->append('filename', $string);
and the output file was
first-
second
but i'm trying to get the file without line breaks like
first-second
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/371pDrp
via IFTTT
Aucun commentaire:
Enregistrer un commentaire