grubi
113
3
Laravel

passing data from view to view

Posted 2 months ago by grubi

Hi

I'm trying to find a solution to pass data from one view to another. I have to following situation. On the first view I have a table with different data of a user and a button, which opens a new view. On this view I will need the user_id from the first view. How can I transfer the user_id from the first view to a hidden field on the second view? Or is it even better to pass the user_id within a session as flash data?

Thanks

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

Reply to

Use Markdown with GitHub-flavored code blocks.