How to create custom functions on MySQL 5.x

An excellent feature that you could use in MySQL is the posibility of adding custom function and stored procedures. In this article I will explain how to create your own custom functions on MySQL, stored procedures are explained in another post. A stored procedure is a subroutine available to applications that access a relational database…

How to detect different devices by using media queries

The next list of media queries are necessary to detect several devices (even in portrait and landscape orientation), thanks to CSS Tricks: /* Smartphones (portrait and landscape) ———– */ @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { /* Styles */ } /* Smartphones (landscape) ———– */ @media only screen and (min-width :…