All pastes #803803 Raw Edit

Unnamed

public php v1 · immutable
·published 2007-12-02 17:15 UTC
rendered paste body
        function editpost()        {                $id = $this->uri->segment(3);                $query = $this->db->getwhere('blog_post',(array('post_id' => $id));                        if ($query->num_rows() > 0)                        {                                $row = $query->row_array();                        }                        else                        {                                return false;                        }        }