0

PHP Script to get input values from a HTML form!

phptutorials

In this post we are going to see a very basic PHP script which might be useful for beginners who wants to learn PHP language. Let’s create a simple HTML form (index.html):

I have used Bootstrap CSS to make… Continue Reading

0

PHP Script to find Largest & Smallest value in an array without using loop.

phptutorials

These kind of question are asked many time in Interviews to confuse the candidates. It’s actually much easier than using loops. So how to find the largest and smallest value in an array without using loop? It’s very simple, we… Continue Reading

0

PHP Script to Strip Vowels from String!

phptutorials

In this post we are going to see how to write a PHP script to strip vowels from string. This post could be useful for school / college students or beginners PHP learners.

Just read the in-line comments to… Continue Reading

0

PHP code to reverse the order of words in a string by N words at a time.

phptutorials

There are many post you may find reversing a string by each characters, but in this post we are going to see how to write a PHP program to reverse the entire sentence word by word (order of the word)… Continue Reading

0

PHP Script to print Diamond Star Pattern!

phptutorials

Hi Students, let’s have another program for you!. Print Diamond star pattern using PHP Script. See the demo here:

Output of the above program will be something like this:  

0

PHP script to Find Days between two Dates!

phptutorials

Today’s script will be much useful┬áto you and i hope interesting as well. ie., PHP Script to find days between two selected dates. Let’s see the PHP script (find_days() function):

Read the comments in the script to understand it.… Continue Reading