Quantcast
Channel: CodeIgniter Forums - All Forums
Browsing all 14343 articles
Browse latest View live

Show chosen database on an another page after option is selected

I want to show a certain table from a selected database. How do I do that? View for the dropdown where you can choose the database: PHP Code: <select name="klanten" class="dropdown-menu"...

View Article


first project no db, no form, just JSON, MVC and router

Hi, I read and watch some stuffs about CI. For a tiny project I need to work with a JSON as my database (in read-only). This is not a blog in json but very similar (view all, view one…) . How to...

View Article


errors in eclipse Projekt Codeigniter 3.1.6

Hi i use eclipse for php (photon version). I imported a codeigniter Projekt (version 3.1.6.) , a simple  new projekt from the tutorial. Now i get 11 Errors on different parts of the system folder of...

View Article

Does CodeIgniter force you to use the query builder?

Hi... If I use CodeIgniter, am I required to use the query builder or is there a way I can write my own database queries and run them? Thanks!

View Article

aren't cookies global?

I am having an issue with my app. I am using two different Codeigniter addons, codexworld's "user registration and login" and Grocery Crud. My app starts out allowing a user to login with "user reg and...

View Article


Label in Form Validation

I want to request the following resource. In CodeIgniter 3, I used this to display the label name in form validation PHP Code: $this->form_validation->set_rules('first_name','First...

View Article

Image may be NSFW.
Clik here to view.

Microsoft SQL Server as database

Hello Community, I have a question regarding database connection. Anyone here already used MS SQL as database for CodeIgniter? Have you encountered any problems regarding the connection? I got hired...

View Article

Unable to upload doc or PDF files

// Configuration information "conference_brochure"=>array(             "fields"=>array(             "field_name"=>"conference_brochure",                 "configuration"=>array(...

View Article


[split] AWS queuing

its nice to have an AWS queuing library on codeigniter for the wishlist

View Article


Optimization on Nested Loop

I have some concerns on Nested loop with sub query for example i have a main query that states like this $main_query = "select fname,lname,dept from employee AS e INNER JOIN dept AS d on d.emp_id =...

View Article

Image may be NSFW.
Clik here to view.

CodeIgniter4 - Starting with RESTful API Resources

Hello guys. I recorded a video using CodeIgniter 4. It was a little long but maybe a bit useful for you to see some new features of the framework in case you have not downloaded it yet....

View Article

Autoload Library

Hi, I try run autoload Library In autoload file /Config/Autoload.php I use this $classmap = [      'User' => APPPATH . 'libraries/user.php' ]; and I want auto run this class like CI3...

View Article

why my session lost in other pages?

Hi it's first time that I use Codeigniter. after authentication for login I set session in Login_model.php: PHP Code: $data_session = array(                'PersonId' => $PersonId,...

View Article


Image may be NSFW.
Clik here to view.

Nice way let user know email already exists via a flash message

I have made a Registration and Login application with Codeigniter 3. The Signup form validation makes sure that every email in the users table is unique, as illustrated bellow: Instead of "The Email...

View Article

Image may be NSFW.
Clik here to view.

how to make multi version in codeigniter for mobile and desktop

We have a codeigniter website for desktop and we don’t want it to be responsive for desktop browsers. But we need mobile version of website in a way that be responsive for all kinds of mobiles and...

View Article


Question about JavaScript scope for call method

I'm reading about using plain JavaScript instead of jQuery, and came across an article on looping through elements that are in a node list. This is that article:...

View Article

Community Auth: creating a new log in controller

I'm trying to figure out Community Auth.  The example controller is working fine.  I've created a new controller (named Auth), which extends MY_Controller.  It has a login function, that's basically a...

View Article


Where store a lot of arrays?

I have some collection of static arrays, that I need to use somewhere in my app - that are hundreds names, families, countries, that I`m using to generate some random data, or display in a view, or use...

View Article

[split] Database problem since 3.1.6

Hello, thanks for You work. I'm use PHP Code: $this->dbutil->backup  for backup DB from admin panel. After upgrade, in this a peace of code PHP Code:             while ($field =...

View Article

What can I do for CI4?

My name is Toni, I'm from Spain, I've been programming in PHP for a few years and I'd like to contribute with CI4, so far I've done 2 pull requests of little things on github. I had thought to do as...

View Article
Browsing all 14343 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>