Jump to content

Geting A Email From Related Tables


madness69

Recommended Posts

Hello everybody, hope having some help, i have 2 tables called "camp" and "users" :

 

camp

- id

- id_owner

- camp_title

- camp_info

 

users

- id

- username

- password

- email

 

Each camp is related to a user, thats why in table camp there is the "id_owner".

Could someone tell me the Sql Query to get the email by the camp table since im working in the Edit camp page and i need to get the email that is related whit the camp owner.

 

Best regards

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.