mozahedul
2 years ago

Call text file from storage

Posted 2 years ago by mozahedul

I am using these codes to show in my pages @foreach($selPdt as $pdt) {{File::get(storage_path("app\product\product-{$pdt->id}.txt"))}} @endforeach

and it's done properly but problem is that page is shown with HTML tags .....because I have saved the page with tinymce.. the page looks like...

Brilliant widescreen display

How can I remove thse html tags.... Is there anyone who can help me?

Please sign in or create an account to participate in this conversation.