Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8836477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:30:15+00:00 2026-06-14T09:30:15+00:00

I am new to codeigniter, i am simple datagrid with few columns…. what i

  • 0

I am new to codeigniter, i am simple datagrid with few columns…. what i want from grid is…i need get checked values from grid,….so i dont know how use foreach loop and get the values..

can any one explain me with example plz….

 foreach ($persons as $person)
    {
        $this->table->add_row(form_checkbox('att',$person->tab_classid), $person->tab_classid, $person->tab_classtitle, date('d-m-Y H:i',strtotime($person->tab_classtime)),$person->tab_pemail,anchor($person->tab_prsturl,'view','target="_new"'),anchor($person->tab_recurl,'view','target="_new"'),$person->tab_classduration,$person->tab_crtdate, 
        anchor('person/view/'.$person->tab_classid,'view',array('class'=>'view')).' '.
        anchor('person/update/'.$person->tab_classid,'update',array('class'=>'update')).' '.
        anchor('person/test/'.$person->tab_classid,'Attendee',array('class'=>'attendee')).' '.
        anchor('person/delete/'.$person->tab_classid,'delete',array('class'=>'delete','onclick'=>"return confirm('Are you sure want to delete this person?')"))
        );
    }
    $data['table'] = $this->table->generate();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T09:30:16+00:00Added an answer on June 14, 2026 at 9:30 am

    PHP is best for processing server code but what you are looking for is tend to be of client side analyses. I suggest you do this sort of check by javascript/jquery instead.

    Leave/process this in an each(function(){...});

    var check=$('chkboxId').attr('checked').value;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new in CodeIgniter and read user guide from website. Using pagination class, pagination
I am new in codeigniter, even in PHP. I want to upload a zipped
I'm new to Codeigniter and I'm trying to develop a simple website with a
I'm new to CodeIgniter and I hope that my question will have a simple
I am new to Codeigniter but for some reason I can't get it working.
I'm new to stackoverflow and to CodeIgniter and I'm currently experimenting on some simple
I'm brand new to CodeIgniter, and I'm trying to execute some simple examples in
I want to create a simple auditing system for my small CodeIgniter application. Such
I am new to Codeigniter. I'm trying to create a simple customer database and
I am new to Codeingiter and i am building a Simple Blog. In Post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.