🔎 Recent posts | Postmycode

[Health and fitness] Healthy Eyes? Protect Your Vision in the Digital Age

[03 May 2024] Introduction:- In our fast-paced digital age, our eyes are constantly bombarded with screens, bright lights, and environmental pollutants. Yet, how often do we pause to consider the health and well-being of our eyes? In this post, we'll delve into the importance of eye care and share practi..

[Devices and Products] Your Essential AC Buying Guide: 10 Things to Check Before You Make the Purchase

[07 Apr 2024] Thinking of buying a new AC this summer? Buying an AC is an important decision that will not only improve your comfort but also have a big impact on your electricity bill. Before making a purchase, it is crucial to consider several factors to ensure that you make the right choice. Let's see, ..

[Lifestyle] Summer heat in India

[02 Apr 2024] Summer is one of the four seasons experienced by many regions around the world, characterized by longer days, warmer temperatures, and increased sunlight. One of the defining characteristics of summer is the long daylight hours. This is due to the tilt of the Earth's axis, which puts the Nort..

[Programing] WebP Image Conversion in PHP: Why Make the Switch and How

[27 Mar 2024] Alright, so WebP —heard the term tossed around, but never really dug into it. Figured it was just another one of those image formats in the vast sea of tech stuff. But then, while checking out my website's performance on Google's PageSpeed Insights, I come across this suggestion: '..

[Anime/Manga] Top 10 Martial Arts Manga/Webtoons That Pack a Punch

[24 Mar 2024] Martial arts manga, or as I prefer to encompass all forms of comics, including manga, manhwa, and manhua, have always held a special place in my heart. The adrenaline-pumping action, coupled with compelling storytelling, never fails to keep me hooked. Here's why these martial arts stories are..

[Tutorial] How to Connect Your Smartphone or Laptop to a WiFi Network

[18 Mar 2024] Connecting your smartphone or laptop to a WiFi network is essential for accessing the internet on the go. Whether you're at home, in a café, or traveling, knowing how to connect to WiFi can save you from using up your mobile data. In this step-by-step guide, we'll walk you through the p..

[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 change server timezone to local timezone in php

[17 Mar 2024] Using the default time zone suggested by the server is not very good, especially for users. It can be a bit confusing when the users are from different time zones. Here's an example: I have a 'Contact Us' page on this website where users can send messages about their queries and ..

[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..