Web Development
Member Avatar

Main code:

 public function forum_detail_info($post_id) {
        $data = array();
          $this->load->library('pagination');
        $config['base_url'] = base_url() . 'welcome/forum_detail_info/';

        $config['total_rows'] = $this->db->count_all('tbl_forum');
        $config['per_page'] = 3;
        $this->pagination->initialize($config);
        $data['about'] = $this->welcome_model->about_info();
        $data['about'] = $this->welcome_model->about_info(); …
Topic by SHAHAB UDDIN

No 100% sure what you mean. The above would work. But the Pagination class does have a config setting where you can set the page segment the class looks for: …

Web Development
Member Avatar

dashboard.php

<table border="1">

                <tr>
                <!-- <tr> -->
                <?php 

                $i = 1;

                if($pager->paginate())
                    {
                    $result = $pager->paginate();
                    while($data = mysql_fetch_assoc($result))
                        {       

                ?>

                <td></td>
                <td><a href="dashboard.php"><img src="images/<?php echo $data['newfilename']; ?>" height="150px" width="150px"><?php …
Topic by davy_yg

What are you trying to acheieve exactly? Mixing server side sessions with onclick events usually indicates you need to rethink your logic.

Nonetheless, for your question you need a bit …

php
Web Development
Member Avatar

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/wwwjjtex/public_html/contacts.php:2) in /home/wwwjjtex/public_html/contacts.php on line 2

AND my code is
margin-left: 94px;

    margin-top: -66px;

     margin-left: …
Topic by santhoshweb

In short: session_start() should be called once only, at the top of the page, before any output is sent to the browser :)

php