Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. HOW TO CREATE MENU AND CONNECT IT USING CODEIGNITOR
Forum Updated to NodeBB v4.3 + New Features

HOW TO CREATE MENU AND CONNECT IT USING CODEIGNITOR

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 324 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Ieqa
    wrote on 5 Dec 2018, 07:34 last edited by VRonin 12 Jun 2018, 08:30
    #1

    Im new using codeignitor. So icreate menu page but i don't know how to connect it to my other pages. This is my code for

    VIEWS (menu_form) : <center> 
    <body bgcolor="#C0C0C0"> 
    <header> 
    <img src="<?= base_url();?>images/imagelogo.png"/> 
    <H1>HOME</H1> 
    </table></header> 
    <head>
    <button class="tablink" onclick="openPage('STAFF')">STAFF</button>
    <button class="tablink" onclick="openPage('ITEM')" >ITEM</button>
    </head>
    
    Controller (menupage) : <?php
    defined('BASEPATH') OR exit('No direct script access allowed');
    
    class menupage extends CI_Controller {
    
    	
    	public function index()
    	{
    		$this->load->view('menu_form');
        }
    }
    
    Models(M_menu) :<?php
    defined('BASEPATH') OR exit('No direct script access allowed');
    
    class M_menu extends CI_Model 
    {
    
        // function __construct()
        // {
        //   parent::__construct();
        // }
    
    1 Reply Last reply
    0
    • C Offline
      C Offline
      CKurdu
      wrote on 5 Dec 2018, 07:36 last edited by CKurdu 12 May 2018, 07:39
      #2

      Hi,
      What is the relation about Qt? :)

      You reap what you sow it

      1 Reply Last reply
      1
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 5 Dec 2018, 07:42 last edited by
        #3

        Hi
        This is not the forum you are looking for. ;)
        Seems to be here
        https://codeigniter.com/community

        1 Reply Last reply
        2

        1/3

        5 Dec 2018, 07:34

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved