Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

renaldy's avatar

Insert data to session

Bro, I want to ask,

How to add data in laravel, without using the database, how?

Suppose I have 2 inputs. Now the input is added, continuously ...

What is that?

.........................................

so we for example the input is 2

Input name = Age input = Submit

Now when we fill in the data we submit it, the data appears below it ...

And so on. If we input again the data will add again ...

So the data is the first one ... and it uses a session

0 likes
1 reply

Please or to participate in this conversation.