Jump to content

Selct data from 2 mysql tables together


johnsmith153

Recommended Posts

Tables / fields:

 

oldCustomerData

fields: Name, Address

 

newCustomerData

fields: fullName, personAddress

 

Something like this is what I am trying to achieve:

"SELECT a.Name, a.Address FROM oldCustomerData AS a + b.fullName, b.personAddress FROM newCustomerData AS b"

 

..so that it is all returned in same return array.

Link to comment
https://forums.phpfreaks.com/topic/209143-selct-data-from-2-mysql-tables-together/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.