🔎 All “Tutorial” Related posts | Postmycode

[Programing] Create an Analog Clock using Javascript

[17 Mar 2024] In this post, I am using HTML canvas element to create an image of clock and then use javascript to animate it as ticking clock. What is canvas? HTML5 introduces canvas element which is to create 2d images within the html pages by using javascript. Here is an example: In this example we create a..

[Programing] How to get next and previous rows in database using php MySQL

[17 Mar 2024] Why do you need to get next and previous rows from a database? In my case, I need to know the next and previous rows of the current row to place 'Previous Post' and 'Next Post' buttons on my website. When a user reaches the bottom of a post he searches for more posts and I nee..

[Programing] Create an image using php

[17 Mar 2024] Why are you creating an image in php? There are many uses for using PHP code to create an image, one of which is to resize an image you already have without using external software. This is useful when you give your users the authority to upload an image on your website. Not everyone can be expect..