Syndicate content
Arrays - 101
Fri, 07/15/2011 - 14:02

Arrays are one of the most importat tools for any developer. It help to orgenize data from a simple to a complex structures. The most used styled arrays are indexical and associative arrays.

We will start with the most basic array and then see a multi dimentional array.

Simple array

lets write one simple array:

Problem solving - debuging
Tue, 01/11/2011 - 10:52

Whether we like it or not, once we write code we will make mistakes and errors. Therefore it is imperative we will catch and fix problems in our applications. For that php has several tools for debugging. I will talk about the basics of code debuging.

But before we start debugging we need to set the stage the right way. First we let php know that we want to display errors:

This code should be placed at the top of our code:

zend framework - paginator
Thu, 12/16/2010 - 14:27

Pagination

 

All over the Internet we can find sites that uses pagination to give users easy way to read a large amount of content. The most known pagination is probably Google`s one since there are a lot of search results  the pagination let us go from one page to another. Each page display a limited amount of results and so to see other results we use the pagination.