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

  • SEARCH
  • Home
  • 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 5955727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:09:18+00:00 2026-05-22T18:09:18+00:00

I am New to Codeigniter. In my Sample Application I add a new Tab

  • 0

I am New to Codeigniter. In my Sample Application I add a new Tab called “RegForm” in my Main.php(View Folder). When i Click the RegForm Tab it load the New Window(width=’800px’ height=’500px’). i understand the concept but i dont know how to write coding in Codeigniter.
Basicall i call a function in Controller file when i Clicked the RegForm tab. and i need to call a function in View where i load a window with properties. amm i correct.

  • 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-05-22T18:09:18+00:00Added an answer on May 22, 2026 at 6:09 pm

    YOu could do this (if I understood correctly):

    View ‘someview’ contains this link:

    $atts = array(
                  'width'      => '800',
                  'height'     => '500',
                  'scrollbars' => 'yes',
                  'status'     => 'yes',
                  'resizable'  => 'yes',
                );
    echo anchor_popup('mycontroller/mymethod','Click this for a popup',$atts);
    

    (anchor_popup is a funcion in the URL helper, just autoload it, it’s really useful)

    in Controller ‘mycontroller’:

    class Mycontroller extends CI_Controller {
    
        //function index()
        // other functions
    
        function mymethod() 
        {
          $this->load->model('mymodelforthis');
          $data['properties'] = $this->mymodelforthis->get_properties();
          $this->load->view('myview',$data);
        }
    }
    

    THen, in ‘myview’, you display $properties the way you want
    Hope this helps, lmk

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've written a new model for my CodeIgniter framework. I'm trying to load the
I am new to Codeigniter and PHP.. while doing some operations i have some
Im new to codeigniter and php, mysql and i am making a codeigniter app,
I am new to CodeIgniter, but not new to PHP, and I was wondering
I'm new to PHP/MySQL and super-new to CodeIgniter.. I have information in many MySQL
i have download the new codeigniter 2.0 and put my controller,model and view files
(Totally new to CodeIgniter and php, not new to programming) In CodeIgniter, how or
I'm new to CodeIgniter, and I need some help. I'd like to implement the
I'm new to codeigniter this is my case: I have a homepage with a
I'm still quite new to CodeIgniter and I was wondering, where should I place

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.