Welcome Guest, Not a member yet? Register   Sign In
Error on trying to join tables
#2

PHP Code:
$query $this->db->select('cl.*, ct.name')
->
from('client cl')
->
join('contact ct','cl.client_id = ct.client_id')
->
where('cl.client_id'$client_id)
->
get(); 

https://www.codeigniter.com/userguide3/d...ilder.html
Reply


Messages In This Thread
Error on trying to join tables - by cybersven - 03-09-2017, 04:32 AM
RE: Error on trying to join tables - by neuron - 03-09-2017, 04:52 AM
RE: Error on trying to join tables - by InsiteFX - 03-09-2017, 04:52 AM
RE: Error on trying to join tables - by cybersven - 03-09-2017, 05:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB