Function Friday: Sqrt ()
Friday March 28, 2008
The SQRT () function us use to find the square root of a number. So for example SQRT (9) would return the value 3.
Magic 8 Ball
Wednesday March 26, 2008
This is a fun little script to tell your future! You remember the magic 8-ball you had when you were 10 years old, well this script replicates it. ... Read More
Function Friday: Get_magic_quotes_gpc ()
Friday March 21, 2008
Magic Quotes is used in PHP to put backslashes before all your quote's to prevent errors when storing your data in a database. You can check if magic quotes ... Read More
Today's Date
Wednesday March 19, 2008
The current date can be displayed using the date () function. When nested inside the print () function, you can display today's date on your website.
Random Quote
Monday March 17, 2008
Using a random number, you can display random quotes on your web page. This script works by first choosing a random number, and then matching each number up with ... Read More
Function Friday: Pow ()
Friday March 14, 2008
This Friday we are featuring the Pow () PHP function. We use this function to express exponents in PHP. For example if we wanted to calculate eight cubed ... Read More
How to Create a Database
Wednesday March 12, 2008
Before you can write a program that utilizes a database, you need to create the database. In our article about creating databases, we show you how to create one ... Read More
Working with Time in PHP
Monday March 10, 2008
When you are adding and subtracting time in PHP, you do not use hours and days and months, instead all calculations are done in seconds. Did you know that ... Read More
Function Friday: Pi ()
Friday March 7, 2008
The PI () function is used in many mathematical calculations and is approximately equal to 3.14159265358979323846. By default it will use a precision of 14 decimals, however this can be ... Read More
What is Boolean Logic?
Thursday March 6, 2008
Boolean logic is a type of decision making utilized by computers to decide if a statement is true or false. There are four main boolean operators used to evaluate a ... Read More
Counting Outbound Links
Wednesday March 5, 2008
Ever wonder what site people click off yours for the most? What is your most popular outbound link? This simple PHP code shows you how to count the ... Read More
Troubleshooting Cookies
Tuesday March 4, 2008
PHP cookies are a relatively simple way of tracking users by storing information in their browser. Having troubles? Here are the most common reasons a cookie isn't working.

