1. Create a new file at application/controllers.
2. Insert the following code in your controller. Make sure that you extend...
CodeIgniter Tutorial - Configure Database Settings
1. Go to App/Config/Database
2. Define your preferred Settings (e.g. Database name, host name, username, and so on.
3. Load the Database...
CodeIgniter Tutorial - How to define the base URL
Open the application/config/config.php
Change the configuration of $config['base_url'] = 'http://localhost/projec-nam...
CodeIgniter Tutorial - How to Remove index.php
Copy the following code and create a .htaccess file. Save the file inside your project folder.
<IfModule mod_rewrite.c>
...
CodeIgniter Tutorial - Download and Install CodeIgniter
Go to the CodeIgniter Website
Unzip the package.
Upload the unzipped CodeIgniter files to your server. (e.g. htdocs folder)
Check...
Subscribe to:
Posts (Atom)