ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

database select

October 20, 2011 1:53pm

Subscribe [2]
  • #1 / Oct 20, 2011 1:53pm

    rajesh333

    1 posts

    hai i need a help very badly,
    i have some problems with a database query, iam new to ci.
    i will mention the problem here,
    3 tables
    table names
    1) film(film_id, filmname) PK (film_id)
    2) category(category_id, categoryname) PK (category_id)
    3) film_category(contains both primary keys (film_id) and (category_id))
    the problem is i want to select all filmname from film tables where category_id= 3.
    how to do this with active record class.
    please make a suggestion.
    iam new to ci. i love it.
    thankyou in advance.
    from your friend.

  • #2 / Oct 22, 2011 9:04pm

    tinthenet

    1 posts

    Sos argentino, no? 😛

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases