484 Topics

Member Avatar for
Member Avatar for cgull

Hello, I am looking at a git course and codeigniter best practice in tutsplus. I am totally lost with all the installations I did since yesterday. I installed git, cygwin and composer. Now in the cygwin terminal I write: <code>composer -V</code> and I get my composer version. Then I go …

0
102
Member Avatar for mhd_arif123

Hi there ! The code(in model) given below generates the list structure: function getNavigation($parent_id = 0, $show_product = 0, $flg = 0 ){ $query = $this->db->get_where('categories', array('parent_id' => $parent_id)); //var_dump($query->result()); //exit; if($query->num_rows() ){ $this->navigation .= '<ul id="browser" class="filetree">'; foreach($query->result() as $v){ $this->navigation .= '<li> <span class="folder">'; if($flg) { if($v->categories_id == …

Member Avatar for diafol
0
1K
Member Avatar for kantigniter

I’m pretty much new to codeigniter and PHP. I need help with insertion of data in the db from multiple clone form fields(not using implode, I have used implode and managed to push data which I will post here), this from clone form fields(If I click add, it should display …

Member Avatar for renierdbruyn
0
2K
Member Avatar for cgull

Hello, I need help with htaccess and a sub domain. I have a site I developed with ci 2.1.3 My folders structure is: c:\sites\mysite c:\sites\mysite\application c:\sites\mysite\system c:\sites\mysite\public_html\index.php c:\sites\mysite\public_html\assets In the public_html folder I have the htaccess file: RewriteEngine On RewriteCond $1 !^(index\.php|assets|images|robots\.txt|captcha) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ …

Member Avatar for cereal
0
723
Member Avatar for renierdbruyn

Hi there, I am developing a site for a recruitment agency, and I have now come to the point where I need to develop a ranking system of some kind to pull the best candidates for a particular job out of the database and display it or notify the candidates …

Member Avatar for renierdbruyn
0
507
Member Avatar for cgull

Hello, I am developing a site with CI 2.1.3 I have a blog module, in this blog I have a form to post a comment. I am calling this form inside a view with: `echo Modules:: run('blog/comment');` When I submit this form with ajaxForm, or refresh the page, the values …

Member Avatar for cgull
0
3K
Member Avatar for wallflips

Hello dear DaniWeb users and thanks for reading this thread. Eight months ago I started a forum CMS project, but alone it's very hard to develop fast and quality. My intentions of writing this thread are to make some interest over the developers of this massively huge website and to …

Member Avatar for vanessa001
0
664
Member Avatar for cgull

Hello, I am developing a web site with codeigniter 2.1.3 I am using an ajax call to post data to my controller, but for some reason the data is not being sent. I am using ajax calls all over the application and they all work well just not this one. …

Member Avatar for cgull
0
3K
Member Avatar for Rizi004

hi there i have a website develop in codeigniter framework i have upload the website in subdomain but the the problem with url rewrite. the website home page works fine oes.techpawer.com but when i open the login page or any other page it will not work like to open login …

Member Avatar for LastMitch
0
3K
Member Avatar for kantigniter

Hi all, I'm new to codeigniter, and i want to know how to approach or a small example as to how to get the following: 1) If I have a form, and it has fields say asking for number of some category for example: first in a drop down we …

Member Avatar for diafol
0
252
Member Avatar for kantigniter

I have two forms the first one is as follows: ![5364b88b6acff4f96bf8734c448984c4](/attachments/large/4/5364b88b6acff4f96bf8734c448984c4.jpg "5364b88b6acff4f96bf8734c448984c4") In the first one, I enter the customer details and the type of house he wants, and the number of rooms he has, and I have set a session once I hit the next button. This is spanning …

Member Avatar for kantigniter
0
503
Member Avatar for cgull

Hello, I am developing a site with Codeigniter 2.1.3. I am creating a pdf file with mpdf and I save the file in a folder outside the root folder. So my folders look like this: c:/mysite/uploads/mypdffile.pdf c:/mysite/public_html I looked at all kind of tutorials and forum posts about the php …

Member Avatar for cereal
0
3K
Member Avatar for kevinyu

Take note this was just done for the sake of experimentation to headstart my journey in CodeIgniter. :D Hello Stackoverflow. Why is it that my page only echoes the username of the given inputs? Could you please tell me on what part did I screw up?? <?php $data = array( …

Member Avatar for cereal
0
205
Member Avatar for kantigniter

I have a form as follows, and I have set the session on clicking next. Each type of house is with a different set of rooms. Say, if I click Independent, I get a list of rooms below. If I choose Villa/Duplex, a different set will pop out. In the …

Member Avatar for kantigniter
0
154
Member Avatar for Dani
Member Avatar for diafol
0
1K
Member Avatar for kantigniter

![50e59f3e9c4e5d94efdbea6bc00b2e2c](/attachments/large/4/50e59f3e9c4e5d94efdbea6bc00b2e2c.jpg "50e59f3e9c4e5d94efdbea6bc00b2e2c") I have three tables, and I'm going to show the third table. What I want to know is how to delete each entry from it? As, the first and the second tables ids are fetched and inserted in the third one. As in, I have my model as …

Member Avatar for kantigniter
0
997
Member Avatar for Deep_Coder

In my codeigniter php login form i'm facing these issues.Password is encrypted in the database.I'm going to decrypt it from the database and allow login.I checked where is the problem.I could find it's in decrypt part.So if anyone can help me i really appreciate that.This is my code. Model function …

Member Avatar for iamthwee
0
4K
Member Avatar for wolfgangcs

This is not working: class Post extends CI_Model{ function get_posts($num=20, $start=0){ //$sql="SELECT * FROM users WHERE active=1 ORDER BY date_added DESC LIMIT 0,20;"; $this->db->select()->from('posts')->where('active',1)->order_by('date_added','desc')->limit($num, $start); $query=$this->db->get(); return $query->result_array(); } } and giving me a: `[20-Jun-2013 17:42:21] PHP Fatal error: Call to a member function select() on a non-object in public_html/codeigniter/application/models/post.php …

Member Avatar for cereal
0
89
Member Avatar for Dani

CodeIgniter error logging set to 1: /* |-------------------------------------------------------------------------- | Error Logging Threshold |-------------------------------------------------------------------------- | | If you have enabled error logging, you can set an error threshold to | determine what gets logged. Threshold options are: | You can enable error logging by setting a threshold over zero. The | …

Member Avatar for veedeoo
0
485
Member Avatar for cgull

I am developing a site with Codeigniter 2.1.3 I am using HMVC to create ion_auth modules. I am trying to separate my frontend and backend login system. I created two modules for ion_auth: application/modules/auth - for the frontend application/modules/admin - for the backend Both have the same files, except the …

Member Avatar for veedeoo
0
847
Member Avatar for shlokka

hi everyone, i run a website and the email script for some reason is sending emails to users trash/spam folder, or npt sending at all. it seems to be on most yahoo email addresses, and possibly gmail. the email script is written with php in codeigniter, and it runs on …

Member Avatar for almostbob
0
374
Member Avatar for kantigniter

I have to sync with two tables in the database The following is the error I get: *A database error has occurred Error Number: 1054 Unknown column 'Array' in 'field list' INSERT INTO `client` (`interior_client_name`, `Interior_client_email`, `interior_client_mobile`, `interior_house_id`) VALUES ('a', 'b', '8989898', Array) Filename: C:\xampp\htdocs\ThinkInterio\system\database\DB_driver.php Line Number: 330* These are …

Member Avatar for cereal
0
5K
Member Avatar for cereal

#This is for Laravel 3.*# ## Hello, ## With this snippet I'm providing a simple way to automatically filter `Input::get()` and `Input::old()`. To achieve this result we need to make few changes: * extend Input and Redirect classes by creating new files in `application/libraries/`, the files are: **input.php** and **redirect.php**; …

1
377
Member Avatar for geewebid

hi master, i have problem with my ci web, i use force_download in my controller but why redirect() cannot work, please tell me what my problem. $filedown = $this->input->post('filedown'); $datas = file_get_contents(base_url() . "down/" . $filedown); // Read the file's contents $name = "$filedown"; force_download($name, $datas); i have error, if …

Member Avatar for Dani
0
2K
Member Avatar for Casperjames

Hello all, This is my first site project using codeigniter. The frontend is all html and I am using codeigniter for the backend. Everything was working fine until I added the frontend files and modified my htaccess file to not redirect to index.php but instead to index.html. htaccess looks like …

Member Avatar for cereal
0
411
Member Avatar for meda shiva

hi coders.. i need live availability code i am using codeigniter. i am inserting values(username,password,email,phone number) by using array . if the email is already in databse i need to show error message.. with out reloading the page.... thanks in advance.

Member Avatar for meda shiva
0
153
Member Avatar for meda shiva

this is my controller i am very new to codeigniter. -------------------------------------------------------- public function joinus() { if($this->input->post('submit')) { $this->load->library('email'); $to=$this->admin_model->get_goinmail(); $from=''; $subject=''; $message=''; $config['mailtype'] = 'html'; $config['protocol'] = 'sendmail'; $this->email->initialize($config); $this->email->set_newline("\r\n"); $this->email->from($from); $this->email->to(@$to); $this->email->subject(@$subject); $this->email->message(@$message); if($this->email->send()) { $data['mail_status']="sucess"; }else{ $data['mail_status']="Un sucess"; } } $data['get_goinmail']=$this->admin_model->get_goinmail(); $data['content'] = $this->load->view($this->view_dir .'joinus',$data,TRUE); $this->load->view('template',$data); } i …

Member Avatar for cereal
0
424
Member Avatar for rjony321

Hello Masters, I need help.I can't apply **WHERE** Condition clause in my Multiple selected checkbox value.like If i select 'accounitng' or 'php' then i want here use a condition like **WHERE** **("skill", "php")** here, skill table field name and php checkbox selected value.If i select a category 'PHP' so all …

Member Avatar for diafol
0
183
Member Avatar for rjony321

Hello Masters, I am new in Codeignitor but i enjoy here.I have one problem like, I want only display value comparison last date *less then or equal* current date. **Last date <= current** date.here last date mention by user.If last date *greater then current date* then those value auto delete …

Member Avatar for cereal
0
6K
Member Avatar for cgull

Showbiz carousel and cycle problem Hello, I am looking for a jquery guru that can help with a plugin that I bought. The developer of the plugin does not answer me and I need to go live next week. The plugin is called: Showbiz Carousel. It is a carousel for …

Member Avatar for LastMitch
0
393

The End.