Tag Archives: list

How To Customise URLs and Create SEO-Friendly URLs in CodeIgniter

How To Customise URLs and Create SEO-Friendly URLs in CodeIgniter

CodeIgniter, the PHP framework, allows for URL customization so that the URLs are more friendly to search engines. As a rule of thumb when you deal with URLs, it is best to avoid long URLs. To shorten your CodeIgniter URLs, for e.g. changing the default controller/method format in the URLs to just reflect the method [...]

Continue reading...

How To Fill a HTML Dropdown With Database Results in Code Igniter

How To Fill a HTML Dropdown With Database Results in Code Igniter

In Code Igniter, you can retrieve database results and format the data so that it appears in a HTML dropdown list automatically. Here’s how to do this: First, you’ll need to edit your model class. Here, you’ll see that we have a method named “get_dropdown()” that will basically query our database table for a set [...]

Continue reading...