Results 1 to 6 of 6
  1. #1

    Default search filter on fields sa table(php;codeigniter)


    pls. give some suggestions,,thanks,,=)

  2. #2

    Default Re: search filter on fields sa table(php;codeigniter)

    especially sa view ug controller nga side,,thanks=)

  3. #3

    Default Re: search filter on fields sa table(php;codeigniter)

    e klaro daw bro, mrg mahirap sabton

  4. #4

    Default Re: search filter on fields sa table(php;codeigniter)

    define what are your requirements TS, what is the purpose of making this search program? usually you can draw an idea from the table itself.

  5. #5

    Default Re: search filter on fields sa table(php;codeigniter)

    butangi og

    "select * from TABLE_NAME where FIELD_NAME = '$variable' || FIELD_NAME2 = '$variable2' ";

    Ingana nga type nga search? ts?


    if sa code igniter

    kay

    $this->db->where('FIELD_NAME', $variable1);
    $this->db->where('FIELD_NAME2', $variable2);
    $this->db->get('table_name');



    or

    $this->db->get_where('mytable', array('FIELD_NAME' => $id, 'FIELD_NAME2' => $variable2 ), $limit, $offset);



    refer nalang sa active record sa CI ..


    Active Record : CodeIgniter User Guide
    Last edited by emailroy2002; 08-31-2012 at 06:40 AM.

  6. #6

    Default Re: search filter on fields sa table(php;codeigniter)

    Quote Originally Posted by emailroy2002 View Post
    butangi og

    "select * from TABLE_NAME where FIELD_NAME = '$variable' || FIELD_NAME2 = '$variable2' ";

    Ingana nga type nga search? ts?


    if sa code igniter

    kay

    $this->db->where('FIELD_NAME', $variable1);
    $this->db->where('FIELD_NAME2', $variable2);
    $this->db->get('table_name');



    or

    $this->db->get_where('mytable', array('FIELD_NAME' => $id, 'FIELD_NAME2' => $variable2 ), $limit, $offset);



    refer nalang sa active record sa CI ..


    Active Record : CodeIgniter User Guide
    salamat emailroy,,ok na imung g.ingon pero akong gnhan kay sa view/controller na part,,model mn na imung gbutang,,hehe,,ok rmn ko sa model,,sa view lng sa search/filter bar,,more on php/html,,hehe,,pero salamat,,!

  7.    Advertisement

Similar Threads

 
  1. Unsay Pirmi Kan-on nimu sa Punko-punko?
    By Otagoth in forum Food & Dining
    Replies: 264
    Last Post: 11-16-2013, 09:12 PM
  2. HELP I love my GF but biga-on ko sa uban girls
    By isone in forum "Love is..."
    Replies: 88
    Last Post: 04-15-2009, 12:46 AM
  3. Replies: 4
    Last Post: 01-15-2008, 03:56 PM
  4. Replies: 9
    Last Post: 12-19-2007, 10:08 PM
  5. Unsa on pagpataas sa rank???
    By kingkoi in forum General Discussions
    Replies: 1
    Last Post: 10-27-2006, 02:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top