Create base underscore.js template

You can easy to create underscore template:




fix image orientation


Tags:


PHP sorting array key



PHP List all time zones

Original source from here.



Ajax change url without refreshing page



PDO MySQL: Insert multiple rows in one query

This function you can use inside in databases class – click here Example for using it:



PHP Template

This code will made php template system. First create insterface template.php: How can you use it? It is simple with following code: It will be find and replace varable {name} with text First name, Middle name. Source of this post: http://php.net/manual/en/language.oop5.interfaces.php


Tags:


Ajax cross domain



MySQL how to re-assign auto_increment for every row

mysql query: This sql command doped your primary key,



Simple custom framework

Here I attached the simple custom framework with structure application/model, view, controller. You can download it here. It’s like as this simple code