implode() The implode function used to concatenate the array elements as a string with a separator. Syntax: implode(separator, array) Output: Apple,Boy,Cat,Dog explode() This function is vise versa of the implode function. In this function the string is split in to array elements. It breaks a text in to smaller text. Syntax: explode(separator, string, limit) Output: Array (    [0] => I have Car    [1] => I have Bike    [2] => I […]

Read More

We can print this pattern in php. In this pattern we divide our program in two parts. In first part we are using two ‘for’ loop to make the above decreasing triangle. The first ‘for’ loop decides the rows and the second ‘for’ loop decides the number of objects in every row. As like above we use same two ‘for’ loops to make lower increasing triangle.

Read More

We can make alphabet pyramid series very easily using PHP. To print this pyramid pattern in php, we can use different types of method. In first program we are using range function which store values in an array from A to Z. Now we use two ‘FOR’ loops. In first ‘for’ loop we run condition from 1 to 5 to print 5 rows, and in second ‘for’ loop we set […]

Read More

We can embed youtube video using iframe tag and also can use various attributes. We can use these attributes for different purposes like hide or show video title, automatically play a video or many more. The following tag will embed our Youtube video....

Read More