Five exercises on numbers that will help you develop your logic

Five programming exercises with numbers that will help you develop your logic.

Find the largest number from the following series of 7 numbers

In this exercise you have to the find the largest number from the following series

10,12,15,3,5, 22, 2


  • Store the numbers in an array
  • Make use of temp variable to store the greater when comparing 2 of them
  • Write a for loop to compare all the other numbers

Continue reading

if-else condition

Code snippet of a if-else condition in PHP, Javascript

Code snippet of a if-else condition in PHP

Code snippet of a if-else condition in Javascript

Continue reading


Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.

Laravel aims to make the development process a pleasing one for the developer without sacrificing application functionality. Happy developers make the best code. To this end, we’ve attempted to combine the very best of what we have seen in other web frameworks, including frameworks implemented in other languages, such as Ruby on Rails, ASP.NET MVC, and Sinatra.

Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

Proven Foundation. Laravel is built on top of several Symfony components, giving your application a great foundation of well-tested and reliable code.

Click here to know more about Laravel

PHP Reference Book

Free PDF of PHP Reference Book

This is a great quick reference book that presents content and examples in a way that it serves both beginners and intermediate users alike. A must buy book!

Here you will find corrections, tips, clarifications, and samples related to the PHP reference book. You are encouraged, if you find an error or something that needs clarification, to post a comment to the blog so it can be addressed in a post and fixed for later versions (that’s what I call wishful thinking).

Click here to download free pdf of PHP reference book

What is HTML

What is HTML?

HTML is a standard programming language to define the structure of a webpage. Full form of HTML is Hypertext markup Language. The latest version of HTML is 5 now.


You create HTML elements like Header, Footer, Navigation, Body, using the HTML Tags.

Example of some html tags are:

HTML tags attribute

HTML tags have attribute which give additional information to the browsers about the element. Attributes have value.

Example of HTML tag attribute

In the above example the ‘image’ tag has an attribute “src”  which has the the source/path of the image file to be shown. The ‘paragraph’ tag has a attribute “align” which has the value ‘center’ that tells the browser to center align the content inside the ‘paragraph’ tag