Welcome To Snipplr


Everyone's Recent Snippets Tagged codeigniter



« Prev 1 2 3
  1. FAV

    Commonly used db functions for CodeIgniter

    This is a common model used to run some common functions like CRUD functions, get reference data from table, check for dependencies etc. So in other model, we don't have to add those function repeatedly
    PHP 9 views posted 4 years ago by invtr
  2. FAV

    Codeigniter-autocomplete-customjs

    codeigniter autocomplete
    PHP 12 views posted 5 years ago by shivrajgoa
  3. FAV

    Codeigniter-autocomplete-view

    codeigniter autocomplete
    PHP 9 views posted 5 years ago by shivrajgoa
  4. FAV

    Codeigniter-autocomplete-model

    codeigniter autocomplete
    PHP 7 views posted 5 years ago by shivrajgoa
  5. FAV

    Codeigniter-autocomplete-controller

    codeigniter autocomplete
    PHP 8 views posted 5 years ago by shivrajgoa
  6. FAV

    .htaccess for Codeigniter in Wordpress subfolder

    Try to run Codeigniter in a subfolder of a Wordpress installation and want to remove index.php for clean URLs? Put this code in a .htaccess file in your codeigniter directory ("cidir" in this example).
    Other 13 views posted 7 years ago by telltec
  7. FAV

    Country list drop down in Codeigniter

    This is a list of county name which is generated in php and how to echo it in Codeigniter way. Hope this help!
    PHP 17 views posted 7 years ago by jquery404
  8. FAV

    Codeigniter View Example

    Just an example showing how to minimise the mixture of HTML and PHP in a view.
    PHP 19 views posted 7 years ago by JonnySnip3r
  9. FAV

    REST API products and categories from pinnacleCart

    This is a useful class which utilizes Phil Sturgeon's helpful restclient (http://getsparks.org/packages/restclient/versions/HEAD/show). Reference the URL attached for PinnacleCart API docs. Example request URLs to get products and categories: #...
    PHP 10 views posted 7 years ago by crypticsoft
  10. FAV

    Codeigniter grouping OR conditions using active record database library

    when someone trying to or two conditions using active record database library in codeigniter
    PHP 7 views posted 7 years ago by pruntrut
  11. FAV

    CI calendar class CSS for the table

    The styling information for the calendar
    CSS 3 views posted 7 years ago by jdhall75
  12. FAV

    CI calendar class init complete

    Complete initialization for the new calendar class
    PHP 0 views posted 7 years ago by jdhall75
  13. FAV

    CI calendar class original

    The orignial calendar class code before the changes
    PHP 1 views posted 7 years ago by jdhall75
  14. FAV

    CI calendar class changes

    At line 220 you should see the the start if an if block. This is the section that needs to be edited. I added the foreach block to itterate over the data array and create links in the table cells.
    PHP 1 views posted 7 years ago by jdhall75
  15. FAV

    CI calendar class init

    Initializing the update calendar class
    PHP 1 views posted 7 years ago by jdhall75
  16. FAV

    CI calendar template

    Template for for Codeigniter calendar class. Modified from default for css styling and multiple events per table cell.
    PHP 9 views posted 7 years ago by jdhall75
  17. FAV

    Upload and resize

    PHP 13 views posted 8 years ago by pruntrut
  18. FAV

    Upload -> resize multiple

    PHP 11 views posted 8 years ago by pruntrut
  19. FAV

    Highlight current page in menu

    PHP 10 views posted 8 years ago by pruntrut
  20. FAV

    foreach fromquery

    PHP 5 views posted 8 years ago by pruntrut
  21. FAV

    Simple CodeIgniter Templating

    Basically, a simple way to use a templating system in CodeIgniter. In your data array, add a view as the value for content. Pass that to the view, then print the $content variable in the view.
    PHP 19 views posted 8 years ago by nielsenrc
  22. FAV

    unwrap link in codeigniter auto_link

    solving unwrapped link in auto_link() function
    PHP saved by 1 person 10 views posted 8 years ago by yllumi
  23. FAV

    Codeigniter: show SQL query from Active Record

    PHP saved by 3 people 11 views posted 8 years ago by telltec
  24. FAV

    PHP - CodeIgniter - New Controller

    PHP 13 views posted 8 years ago by otternq
  25. FAV

    CodeIgniter - basic question

    I am having a bit of trouble figuring out what goes where in my application. I guess this is something of a fundamental lack of understanding I have, and I'm hoping somebody might be able to clear things up. This is all very much pseudo code. In...
    PHP 9 views posted 8 years ago by shoelessone
  26. FAV

    Load one model into another in CodeIgniter

    PHP saved by 3 people 8 views posted 8 years ago by shalomfriss
  27. FAV

    htaccess for codeigniter

    PHP saved by 4 people 20 views posted 8 years ago by farstar78
  28. FAV

    Doctrine2 wrapper for CodeIgniter2 - Development config.

    PHP saved by 2 people 7 views posted 8 years ago by farstar78
  29. FAV

    cli-config.php - doctrine2 + codeigniter2

    PHP saved by 1 person 7 views posted 8 years ago by farstar78
  30. FAV

    Doctrine2 CLI for CodeIgniter2

    PHP 2 views posted 8 years ago by farstar78
« Prev 1 2 3