Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 10-27-2011, 01:23 AM   #1
ncjbhd
Registered User
 
Join Date: Jul 2011
Posts: 262
select data from two tables.

Hi, I am trying to select site fields from two tables. The first table is called 'users' and has a field called 'location' and the other table is called 'addsites' and that also has a field called 'location'.

Could someone please show me how I would select the data from both 'location' fields using one php SELECT routine.

I hope someone can help.

Thanks
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
ncjbhd is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What do you understand about Data Center? coleprice05 General Discussion 2 01-01-2014 10:41 PM


All times are GMT -7. The time now is 11:58 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.