Skip to content
Advertisement

MySQL join another table value based on 2 different tables matching value? [closed]

The intended result is 12(price) and pic.png(profilepic). Is this possible to join jobs and profile based on the matching job_id’s (jobs+offers), which have matching user id’s between profile and offers, all based upon the $_SESSION[user_id]?

Its not working, is it possible?

Advertisement

Answer

Your query looks quite fine. You would just need to qualify column user_id in the from clause with the table it belongs to:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement