Author Archives: admin

Mysql Commands

 

Draw on Image using canvas

 

Clone a HTML element with jquery clone()

Reference:

  1. https://stackoverflow.com/questions/32637674/jquery-clone-date-picker-not-working

Escape XML node value

 

moment.js

 

HTTP_RAW_POST_DATA

$GLOBALS[‘HTTP_RAW_POST_DATA’] works only on < PHP 5.5

 

Dynamic function name: call_user_func_array

Basic

Class method

 

Eloquent to access another DB

Reference:

  1. https://stackoverflow.com/questions/31847054/how-to-use-multiple-databases-in-laravel

Join in CodeIgniter