saving unknown amount of textareas data in database with special style in Laravel

  database, html, laravel, mysql, php

So I have this blog website which each blog post information is get from the admin user. In admin create post view I have a text area for the title which I can easily set its data to database by giving it a name, but then I have these buttons in my view(one for inserting image, one for inserting paragraph, and one for inserting a heading), clicking on which an special input or textarea will be added to the view by javascript, so admin can add as many images or paragraphs or headings as he desires. The problem is how am I gonna save these inside the database and view each with styles of paragraph or heading in blog page.
What am I gonna do?

Source: Laravel

Leave a Reply