Recursive Function

Example http://www.lornajane.net/posts/2012/php-recursive-function-example-factorial-numbers Get leaf nodes: //Get all cat id of leaf certificate c

Continue Reading

Supersized

$.supersized({ slideshow: 1, slides:[ {image : base_url + 'assets/images/index/bg_city.png', title : '', thumb : '', url : ''} ] });  

Continue Reading

Detect Device

https://github.com/serbanghita/Mobile-Detect $this->load->library('Mobile_Detect'); function get_device(){ if($this->mobile_detect->

Continue Reading

Route

Example: http://www.wikirex.com/link/index/123 => http://www.wikirex.com/link/123 //Rout link URL $route['link/(:num)+$'] = "link/index/$1";

Continue Reading

.htaccess

Online Tester https://htaccess.madewithlove.be/ Document https://lesca.me/archives/htaccess-rewrite.html https://lesca.me/archives/htaccess-

Continue Reading