Sarwan Soomro
About Sarwan Soomro
Sarwan Soomro is a freelance software engineer and an expert technical writer who loves writing and coding. He has 5 years of web development and 3 years of professional writing experience, and an MSs in computer science. In addition, he has numerous professional qualifications in the cloud, database, desktop, and online technologies. And has developed multi-technology programming guides for beginners and published many tech articles.
howto · 2025-03-13
PHP Dynamic Table Generation
Learn how to generate dynamic tables in PHP with this comprehensive tutorial. Explore the use of loops, conditional statements, and forms to create interactive tables that respond to user input. Enhance your web applications with real-time data updates and improve user engagement. Perfect for beginners and experienced developers alike, this guide covers all the essential techniques for effective PHP table generation.
howto · 2025-03-11
PHP Base64_decode Function
This tutorial demonstrates how the php base64 decode converts MIME base64 encoded data in two simple examples.
howto · 2025-03-11
True and False in PHP
This article explores true and false values in PHP, highlighting their importance in boolean logic and control structures. Learn how to effectively use boolean values, implement best practices, and enhance your PHP programming skills. Whether you're a beginner or an experienced developer, this guide provides valuable insights for building dynamic applications.
howto · 2025-03-11
How to Determine Referer in PHP
This tutorial demonstrates a straightforward yet secure way to determine referer in PHP. Learn how to store user sessions and utilize the HTTP referer to show the last visited server location. Enhance your web application's functionality and user experience with these practical methods.
howto · 2025-03-11
PHP Script in CSS Files
This tutorial explores how to effectively use CSS stylesheets within PHP scripts, enhancing your web development projects. Learn various methods to integrate dynamic styles, including inline CSS, dynamic CSS files, and conditional loading of stylesheets. Whether you're a beginner or an experienced developer, this guide will help you create visually appealing and functional websites.
howto · 2024-02-17
How to Prevent Orphaned Case Error in Java
This article discusses switch cases, orphaned case causes, prevention methods, and Java best practices.
howto · 2024-02-16
How to Send Email in Java
We will use JavaMail API to send Google and Microsoft accounts emails to any mailing system. You will get step-by-step guidance to set prerequisites, and we will also provide the links for necessary jar files. Finally, you will learn how to send java emails using two different libraries with three easy examples.
howto · 2024-02-16
Best GUI Builders for Java Swing Applications
We will classify the most popular graphical user interfaces (GUI) builders that you can use for Java Swing application development.
howto · 2024-02-16
Permanent Generation Heap Space and Metaspace
In this article, we will explore the Java Virtual Machine's permanent space. Besides, we also discuss the reason behind out of memory error issues in older Java versions. Finally, we will list the differences between permanent generation and Metaspace in JVM.
howto · 2024-02-15
Remainder Operator in Java
This article explains the remainder operator in Java with examples and outputs. We will execute three examples using the remainder operator and show how to build logic using this operator.
howto · 2024-02-15
How to Resolve IllegalArgumentException in Java
We will demonstrate how you can throw illegalargumentexceptions in Java programs. Also, we discuss how to get rid of the same exceptions from your Java programs. Finally, we will also use the try and catch blocks to handle it.
howto · 2024-02-02
How to Send Data in URL to View the Single Record of a Selected Product
This tutorial shows you how to dynamically send data in URL(s), retrieve the user's selected product records and make them viewable on the product.php?pid='id_value'. Learn how to fetch data from SQL using MySQL and PODS.
howto · 2024-02-02
How to Run Shell Scripts in PHP and Open Shell File
This tutorial will demonstrate how to run shell scripts in PHP. We will implement our script using PHP's shell_exe() and shell() functions.
howto · 2024-02-02
How to Create a Webhook in PHP
This tutorial shows how to create a webhook in PHP. We will create a webhook.log file. This file will contain some text in the array format that we will retrieve from our example.json file. We will use a PHP script to decode this JSON file and print it.
howto · 2024-02-02
How to Use HTML Image Tag Inside PHP
In this article we'll discuss how to use HTML image tag inside PHP, store a URL in a variable and echo it directly in the source and use the str_replace() function for URL conversion while using the iframe tag in PHP.
howto · 2024-02-02
How to Fetch Data From Database and Show the Data in the HTML Table Using PHP
We will learn the process of creating a database and table in MySQL and how to retrieve the mysql table dynamically and show it in the HTML.
howto · 2024-02-02
How to Create a Signature From Hash_hmac() and Sha256 in PHP
We will create string based keys and turn them into secret signatures, we will use hash_hmac() method with some of the most common HMAC methods for crypotographic conversions. We will also create a complex signature using sha256 and hex2bin and bin2hex functions in PHP.
howto · 2024-02-02
How to Insert Special Characters Into a Database in PHP
This tutorial will introduce the mysqli_real_escape_string() function to insert special characters into a database in PHP. We will compare inserting data with and without the mysqli_real_escape_string() function.
howto · 2024-02-02
How to Get Resource URL and Content in Java
This tutorial demonstrates how to get resource URL and read resource files in Java with the getResource() function.
howto · 2024-02-02
How to Convert Map Values Into a List in Java
In this tutorial, we will execute three programs to show you how to convert hash map values into a list in Java. All examples are dynamic and contain useful methods to build a solid logic.
howto · 2024-02-02
How to Sort Manual Linked List With Bubble Sort Algorithm in Java
First, we will discuss bubble sort algorithm in Java with nodes examples. Then, we will execute two methods to demonstrate how you can sort a linked list using a manual bubble sort algorithm.
howto · 2024-02-02
How to Configure Java on Debian Linux
We demonstrate how to update-alternatives --config java on Debian Linux. Using Debian bash shell, we will use bash commands to install open JDK(s) on a Windows 10 machine. Hence, you will solve update-alternatives --config and learn how to use Debian bash on Windows for the same purpose.
howto · 2024-02-02
How to Request HTTP Client and Get Response in Java
This article will explain HTTP clients and HTTP requests in Java programs. Also, it will get an HTTP response in JSON using the former methods. The first part will enable your understanding, while the second part will help you build your HTTP programs.
howto · 2024-02-02
How to Implement Data Access Object in Java
First, we exemplify the core concepts of the data access object model in Java. We also use MySQL connector and its JDBS driver to connect with a newly created database to manage CRUD applications using DAO concept.
howto · 2024-02-02
How to Split a Comma-Separated String in Java
We will show you how to split a comma-separated string or any character you want. The first program uses Indexof and substring methods, and the second two examples will use the split method. Both approaches are necessary, but the first is fundamental for beginners.
howto · 2024-02-02
How to Create JAR Files in Java
In this tutorial, we will show you how you can easily create JAR files using both integrated development environment and command line interface (for windows users) in Java.
howto · 2024-02-02
How to Download Javadoc for Offline Reading
In this article, you will learn how to download Javadoc for offline reading in Java.
howto · 2024-02-02
How to Compare ArrayLists in Java
In this tutorial, first, we will compare two array lists using a comparison method in Java. We also apply the same method on Java strings before applying it on array lists. Finally, we demonstrate, how you can sort an unordered array list before comparison.
howto · 2024-02-02
How to Implement Topological Sorting in Java
We will implement topological sort algorithm on a direct acyclic graph using depth first search technique in Java.
howto · 2024-02-02
How to Convert Stream Element to Map in Java
We will convert stream elements into map using Java. We will show you how to extract map from Java strings using Collectors.toMap().
howto · 2024-02-02
How to Determine the Height of the Binary Search Tree in Java
In this tutorial, we will determine the height of a binary searchxa0tree (BST). We will applyxa0the recursivexa0method onxa0the height of the left and right subtrees, and then find the maximum of these two heights.
howto · 2024-02-02
How to Custom Helper Method in Java
In this article, we are going to demonstrate a simple way to create a helper method in Java.
howto · 2024-02-02
How to Calculate Median of an Array in Java
In this article, we will show you how to calculate the median of an array. We will take two different approaches to calculate the median of a Java array.
howto · 2024-02-02
Byte Buffer Class in Java
This article will help you understand how a Java Virtual Machine deals with a byte buffer class. We will also signify its scope and list out its major parameters. Finally, we will run two Java programs to demonstrate what we discussed.
howto · 2023-12-11
Best Math Libraries Every Java Developer Should Know
In this tutorial, we discuss the scope of various math libraries for Java. Then, we will show you how to configure the Apache Commons library in your development environment. Finally, we will show you some examples using Apache Commons.
howto · 2023-10-12
Iterator and Iterable Interfaces in Java
In this tutorial, we explain the difference between iterator and iterable. Then, we will create interfaces using iterable and iterator methods in Java. Our interface will override both methods.
howto · 2023-10-12
Union and Intersection of Two Java Sets
This article will demonstrate how to perform union and intersection of two sets in Java. We will use the updated function and avoid dirty code instead of manual integration and traditional methods.
howto · 2023-10-12
The intValue() Method in Java and Primitive Data Types Conversion
We will discuss the intValue method and learn its scope. Also, we will find out the core logic behind primitive data types and learn the difference between int and integer. Finally, we also execute a few real-time conversion examples.
howto · 2023-10-12
Difference Between Static and Non-Static Methods in Java
This tutorial categorizes static and non-static methods in Java while differentiating between their core properties and scope. After that, we are going to run three examples on both methods.
howto · 2023-10-12
Difference Between .Jsp and .Jspx File Extensions
In this tutorial, we categorically distinguish between .jsp and .jspx file extension commonly used in Java enabled dynamic web pages. We will show you how XHTML and Java code is handled in both files in two demo code examples.
howto · 2023-10-12
Gregorian Calendar Class in Java
In this tutorial, we will briefly demonstrate java.util.GregorianCalendar class. After reading this article, you will be able to implement the most important methods used in this class such as java.util.Locale, java.util.TimeZone, Calendar.get() and others.
howto · 2023-10-12
Red-Black Tree in Java
In this tutorial, we will explore Java's red and black trees. We will discuss their evaluation and attributes. First, we will demonstrate how it is used from the data structure perspective. Later, we will show you a few rotations, search, and node insertion using Java programs.
howto · 2023-10-12
Java Paint Component
In this article, we will have a closer look at the paint component method in Java. We will run a Java program to show you how does it work.
howto · 2023-01-30
PHP ini_set Memory Limit
We will perform two methods to set the memory limit in php. Then we will use a PHP script to set the memory limit in PHP.
howto · 2023-01-03
PHP cURL File Upload
This tutorial demonstrates the complete execution of uploading curl file in PHP.