How to use Smarty variables in Javascript Code

Published on :

Smarty is a template engine for PHP that facilitates a managable way to separate application logic and content from its presentation. This is mostly used in industrial architecture following MVC (Model View Controller) architecture. The application data that contain no information about how they will be presented. They are passed […]

Difference between INT(1) vs TINYINT(1) in MySQL

Published on :

The other day while designing a database schema i was suggested to use Tinyint instead of int. Tinyint, never ever used in SQL. So i digged a bit about this datatype. Later i thought probably i can use INT(1) for declaring the database field rather than TINYINT(1) as both might […]