Pyramid in PHP Part II
<?php $limit = 5; for($i=0;$i<=$limit;$i++) { for($k=1;$k<=$i;$k++) { echo $k; } echo “<br/>”; } ?> Output: 1 12 123 1234 12345
<?php $limit = 5; for($i=0;$i<=$limit;$i++) { for($k=1;$k<=$i;$k++) { echo $k; } echo “<br/>”; } ?> Output: 1 12 123 1234 12345
<?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
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...
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...
Introduction to PayPal Sandbox – PayPal Sandbox contains all the features which you will have in PayPal production servers. But some of the features do not apply to Sandbox like Closing an account, monthly statements, Shipping preferences, and support to...
In our previous article on version control, we have introduced you with version control and why we use version control. What is GIT? GIT is the code hosting tool for version control which allows you to work together in teams...