mercredi 16 mai 2018

Laravel - Find user id of logged in user and get a value from the table

I have a table that contains the column value of one table and the column value of another, the name is property_users This is property_users column names id ,user_id ,property_id

user_id and property_id automatically fills in the id from users table and properties table respectively How can i get the properties id form the property_users table based on the logged in user's user_id in the table



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire