Posts related to tag: php


How to convert the first letter of a String to lowercase in PHP

In PHP, lcfirst(string $string) is the inbuilt function to convert the first letter of a String to lowercase. And lcfirst(string […] Continue reading »

How to capitalize the first letter of a String in PHP

In PHP, we can use the inbuild ucfirst(string $string) function to convert the first character of a string to uppercase. ucfirst(string […] Continue reading »

How to install Apache 2.4 and PHP 8 on a Windows Machine

In this tutorial, you will learn how to install and configure Apache 2.4 and PHP 8 on a Windows machine. […] Continue reading »

How to display related Posts in WordPress

In this article, we’ll fetch and display the related post from a similar category on the WordPress website. WP_Query class […] Continue reading »

How to get random Posts in WordPress

WordPress introduced WP_Query class in its version 1.5.0 for the custom query. It gives the leverage to execute the custom […] Continue reading »