Found this:

$a = 1234; # decimal number
$a = -123; # a negative number
$a = 0123; # octal number (equivalent to 83 decimal)
$a = 0x1A; # hexadecimal number (equivalent to 26 decimal)

http://www.phpbuilder.com/manual/language.types.integer.php#language.types.integer.casting


> hmmmmm
>
> ever tryed telling PHP to display the variable as an integer?
>
> echo (integer) $id ;

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to