codeigniter-2
Codeigniter - return my model object instead of stdClass Object
Not sure the best way of phrasing this so bear with me. Within Codeigniter I can return a record set of my object no problem but this is returned as a stdClass object not as an \"model\" object (for[详细]
2023-02-14 19:31 分类:问答CodeIgniter 2 - captcha helper?
I cant seem to get CI2\'s captcha helper to work... Can someone point out what I am doing wrong? I think I\'ve followed all the steps on the doc\'s but Im not getting anything event a print_r(get_def[详细]
2023-02-14 14:13 分类:问答codeigniter image resize not working
can\'t understand why this image resizing not working pls help //updating article function updateArticle(){[详细]
2023-02-14 04:54 分类:问答Codeigniter reusable sections
I have a table of data from a database that I want to display on various pages of my website. Ideally, i would like to just have an include or something that will go off and get the data, and return t[详细]
2023-02-13 21:32 分类:问答date time problem with codeigniter 2
I have set mysqldatabase field type as \'datetime\' when i send $now = time(); echo form_hidden(\'a_date\', unix_to_human($now));[详细]
2023-02-13 08:04 分类:问答Loading data in CodeIgniter
I am getting only one featured item with this code in CodeIgniter. I want to get 5 different featured items.[详细]
2023-02-13 07:35 分类:问答SEO-friendly URLs in CodeIgniter without the use of slugs?
Is there a way (via routing) in CodeIgniter to change: example.com/category/4 to example.com/category/foo-bar[详细]
2023-02-12 04:06 分类:问答One To Many relationship codeigniter/datamapper
I need help on this plz : 2 tables Service : has many Sub_Service Sub_Service : has one Service My code :[详细]
2023-02-11 07:55 分类:问答Unable to load database table contents with ActiveRecord
I\'m new to CodeIgniter and am having trouble loading the contents of a simple database table (named \'entries\') with the ActiveRecord syntax--I\'m getting a blank page.[详细]
2023-02-10 14:40 分类:问答Telling the browser to open or download a file in Codeigniter
In Codeigniter, we can use the force_download($file_name,$data) function from the download helper to force the browser to download a file.[详细]
2023-02-10 06:47 分类:问答