Welcome Guest, Not a member yet? Register   Sign In
Outputting data problem
#7

[eluser]skribe[/eluser]
[quote author="mi6crazyheart" date="1293533880"]Then i think there might've some problem in sql query. May be query is not able to match with any records...[/quote]

I considered that. This query runs fine in mysql:

Code:
SELECT ct.type, pc.details FROM person_contact pc LEFT JOIN contact_type ct on pc.contact_id = ct.id WHERE pc.person_id = '1';

I substitute 1 with $id in php.

I've substituted the active records query with this and end up with the same no result.

Thanks for the help so far btw.


Messages In This Thread
Outputting data problem - by El Forum - 12-27-2010, 12:24 AM
Outputting data problem - by El Forum - 12-27-2010, 03:19 AM
Outputting data problem - by El Forum - 12-27-2010, 07:52 PM
Outputting data problem - by El Forum - 12-27-2010, 09:32 PM
Outputting data problem - by El Forum - 12-27-2010, 10:03 PM
Outputting data problem - by El Forum - 12-27-2010, 10:58 PM
Outputting data problem - by El Forum - 12-27-2010, 11:32 PM
Outputting data problem - by El Forum - 12-27-2010, 11:53 PM
Outputting data problem - by El Forum - 12-28-2010, 12:02 AM
Outputting data problem - by El Forum - 12-28-2010, 09:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB