Skip to content

Tag: phpmyadmin

How to get the username through an id in Laravel?

I am trying to create an offers forum, where some user can create their offers in order to provide their services and I want to show the name of the person that created that offer instead of the id. In my database I have the two tables: Offers table: User table: In offers I have a column of the professor_id,