I'm using the following code: $vacation = vacation::find(30);
But instead of fetching the ID I want it to fetch the ID_user field.
How can I make this change?
Thanks !!
I'm using the following code: $vacation = vacation::find(30);
But instead of fetching the ID I want it to fetch the ID_user field.
How can I make this change?
Thanks !!