0
How do I pass information between two controllers, example:
I have in my database two tables, one of users and another of books, then I select a book that is in the books table, I take your id and I have to update this information in the user table..
I have two controllers, one from users and the other from books, I have to pass the book id to the user controller..
- How do I pass this information between controllers
- How do I select the user id logged in to the system
- What is the right way to do this update