I have a project. At the moment, I am working with a CV (curriculum vitae) table. So, I was at the point that each CV can contain one or more Phone numbers and e-mails.
Because I already had around 7 tables associated with CV like skills, languages and so on, I decided to save emails and phones in the Сv s columns, as JSON columns.
So, in my migration I put
$table->json('phone');
$table->json('email');
How could I manipulate this
<input type="text" name="phone[]">
<input type="text" name="email[]">
for storing this data from Controller in DB, and how should I retrieve them in view?