HELP with URL

#7
[eluser]Evollution[/eluser]
din cate am inteles eu trebuie sa fac functia GET_ARTICLE_BY .. in model

si am facut ceva de genu
Code:
function GET_ARTICLE_BY_ID($article_id)
    {
                $this->db->select('title,news');
                $this->db->from('news');                
                $this->db->where('id', $article_id);
                 $query = $this->db->get();


        return ;
    }

.. poate incurc eu ceva :\


Messages In This Thread
HELP with URL - by El Forum - 01-07-2011, 01:06 PM
HELP with URL - by El Forum - 01-07-2011, 01:20 PM
HELP with URL - by El Forum - 01-07-2011, 02:54 PM
HELP with URL - by El Forum - 01-07-2011, 03:02 PM
HELP with URL - by El Forum - 01-07-2011, 03:09 PM
HELP with URL - by El Forum - 01-07-2011, 03:29 PM
HELP with URL - by El Forum - 01-07-2011, 03:39 PM
HELP with URL - by El Forum - 01-07-2011, 04:27 PM
HELP with URL - by El Forum - 01-07-2011, 05:57 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.