Engineering Articles
7 articles on Engineering, newest first.

Lamudi.pk Real Estate Growth
There are several online real estate portals running in Pakistan, a couple of them have captured the market and leading the industry. In such a scenario it’s ha

My 3 Days Trip to Swat, Malam Jabba and Kalam
Pakistan is a land of natural beauty and has been blessed with the abundance of awe-inspiring outdoor areas. From the unspoiled golden beaches,across the desola

Random string generator
Learn how to generate random strings in PHP with a simple, reusable function. This guide explains how the generator works, how to create strings of different lengths, common use cases, and secure alternatives using random_bytes() and random_int() for authentication tokens and other security-sensitive applications.

Trigger Google conversion on some event
Normally Google conversion code is added in header or footer of the “Thank you for your purchase” pages. A conversion is logged when someone lands o

MySQL calculate hours since row created
Learn how to calculate the number of hours that have passed since a MySQL row was created. This guide explains how to use TIMESTAMPDIFF() with created_at, compares it with DATEDIFF(), and covers practical examples for calculating hours, minutes, seconds, and records older than a specific time period.
Add custom menu item for WP subscribers panel
Learn how to add a custom menu item to the WordPress admin panel that is visible only to subscribers. This tutorial covers add_menu_page, capability checks, rendering custom page content, and tips for keeping your admin UI clean and role-appropriate.

Disable Browser's Back button
Learn why you can’t truly disable the browser Back button using JavaScript and how to properly manage app state using the History API, popstate, and bfcache instead.