PHP Pyramid Part 4

Pyramid in PHP Part IV

<?php $limit = 5; for($i=0;$i<=$limit;$i++) { for($k=$i;$k>0;$k–) { echo “*”; } echo “<br/>”; } ?> Output: * ** *** **** *****  

PHP Pyramid Part I

Pyramid in PHP Part I

<?php $limit = 5; for($i=0;$i<=$limit;$i++) { for($k=$i;$k>0;$k–) { echo $k; } echo “<br/>”; } ?> Output: 1 21 321 4321 54321  

OOPS Classes and Objects

Basics of OOP in PHP Part 1

Object Oriented Programming is all about to create a modular structure for your applications. Whether your application is web based or desktop based application, OOP is a design concept with which you can create a modular code structure. Most important...

OOP in PHP

Introduction to Object Oriented Programming in PHP

Object Oriented Programming is the approach to group all the variables and functions of a particular functionality/topic in a single class. As compared to procedural programming style, Object Oriented Programming is considered to be fast, advanced, and efficient. We may...