Welcome Guest, Not a member yet? Register   Sign In
passing multiple table value by a single function
#8

[eluser]Paleleaves[/eluser]
Hi,

Thank you very much for the all ..

But again stuck on a problem here.

Code:
$sql['query']= $this->db->query('SELECT * FROM property, ptype WHERE property.reqType = ptype.pID');

I managed to get the information from multiple tables using the above code but need to take the data from a third table along with this. Here is the code I tried but didn't work


Code:
$sql['query']= $this->db->query('SELECT * FROM property, ptype WHERE property.reqType = ptype.pID, district WHERE property.districtName = district.dID');

Any help will really appreciated!


Messages In This Thread
passing multiple table value by a single function - by El Forum - 10-13-2009, 02:27 AM
passing multiple table value by a single function - by El Forum - 10-13-2009, 02:48 AM
passing multiple table value by a single function - by El Forum - 10-13-2009, 03:55 AM
passing multiple table value by a single function - by El Forum - 10-13-2009, 04:03 AM
passing multiple table value by a single function - by El Forum - 10-13-2009, 07:17 AM
passing multiple table value by a single function - by El Forum - 10-13-2009, 08:25 AM
passing multiple table value by a single function - by El Forum - 10-13-2009, 09:22 AM
passing multiple table value by a single function - by El Forum - 10-18-2009, 04:13 AM
passing multiple table value by a single function - by El Forum - 10-18-2009, 05:07 AM
passing multiple table value by a single function - by El Forum - 10-18-2009, 07:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB