Welcome Guest, Not a member yet? Register   Sign In
ActiveRecord using model in another model
#4

[eluser]GSV Sleeper Service[/eluser]
SQL Join of some kind?

Code:
select id, title, content, date, categoryname
from newscontent
inner join
newscategory on newscategory.id =  newscontent.category_id
where newscontent.id = '$id'


Messages In This Thread
ActiveRecord using model in another model - by El Forum - 03-26-2008, 04:49 AM
ActiveRecord using model in another model - by El Forum - 03-26-2008, 05:13 AM
ActiveRecord using model in another model - by El Forum - 03-26-2008, 05:32 AM
ActiveRecord using model in another model - by El Forum - 03-26-2008, 05:52 AM
ActiveRecord using model in another model - by El Forum - 03-26-2008, 05:57 AM
ActiveRecord using model in another model - by El Forum - 03-27-2008, 04:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB