PHP - Using numbers
Thu, 25 Oct 2007 02:47:32
When using numbers within PHP for mathimatical caclulations we do not set them up as strings.
$var1 = 0 //correct
$var1 = "0" //would be incorrect
As in math, whole numbers, negative or positive, and zero are considered Integers
Cheers
Ryan Partington


