Welcome Guest, Not a member yet? Register   Sign In
how is add subject blog to url with _remap and .htaccess? (dynamic)
#15

[eluser]osci[/eluser]
Look man
Code:
<?php class Blog extends CI_Controller {
    function __construct()
    {
    parent::__construct();              
    }
    public function blog($g_subject)
    {
        $query = $this->db->where('subject', $g_subject)->get('miniblog');
        // etc
    }

Class Blog
php5 constructor __construct
php4 constructor blog (and wrong case btw, should be Blog since its the PHP4 CONSTRUCTOR)

Man I'm not here to tutor you. You need to read php. I gave you code to read not to copy paste.
And as I said that's about it.


Messages In This Thread
how is add subject blog to url with _remap and .htaccess? (dynamic) - by El Forum - 06-18-2011, 04:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB