PHP – Reverse a string without using string function!

There are several ways you can reverse a string in PHP. One is using default function and the 2nd way is without using default function. Here is the one using default PHP reverse function: Syntax:


Without using… Continue Reading


PHP Program to print Pyramid of Stars

Here is another fun PHP program for the school and college kids those who want to print stars of pyramid using PHP technology. Here is the code and you can see the demo below:

Enter the number in the… Continue Reading