[snip]
Why is this happening???

    $id = 000011;
    echo $id;       // Displays: 9

    $id = 11;
    echo $id;       // Displays: 11

How do I make the first number (00011) display as 11? Why is it showing
9?
[/snip]

First of all you have "naked" numbers. The first one, 000011, looks like
a binary number (which actually should be 3). You are going to have to
trim the leading zero's from the number to have it display as 11.

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

Reply via email to