Monthly Archive: June 2014

Jun 07

Fibonacci Series in PHP

A Fibonacci Series of ┬áNumber (0,1,1,2,3,5,8,13,21,34,55……) A Fibonacci Series represent in Mathematical term. Fn=Fn-1+Fn-2; F0=0, F1=1 First two number of Fibonacci Series are 0 and 1. After that each number is sum of previous two number. Fibonacci Series was used in ancient india for metric science. It refered as ‘Golden Mean’ in roman. Some method …

Continue reading »

Jun 06

Mysql_connect and Mysql_pconnect

Mysql_connect and mysql_pconnect both are used to connect the database. Mysql_pconnect use for open a persistent connection means connection is not closed and enable for future use. Mysql_pconnect is much like similar to mysql_connect, but have some difference . Mysql_pconnect try to find connection which is already open with same host, username and password. If …

Continue reading »