Re: [PHP] Integers

2010-07-01 Thread Shreyas Agasthya
It would also mean that 7 (8 digits which includes 0) is the highest numeric representation that you can have or go up to in an octal representation. So to take your example and represent an octal number : 00100010 (subscript 2) = 1057(subscript 8) --Shreyas On Thu, Jul 1, 2010 at 7:42 AM,

Re: [PHP] Integers

2010-07-01 Thread tedd
At 10:02 PM -0400 6/30/10, David McGlone wrote: Hi again I'm trying to learn about octal numbers and I don't understand this: Binary: 00100010 breakdown: (001)= 1 (000)= 0 (101)=5 (111)=7 I know it's similar to unix permissions, but I'm not understanding where for example: 111 = 7

Re: [PHP] Integers (correction)

2010-07-01 Thread tedd
Correction I said: 1 x 10^9 = 512 0 x 10^8 = 0 0 x 10^7 = 0 0 x 10^6 = 0 1 x 10^5 = 32 0 x 10^4 = 0 1 x 10^3 = 8 1 x 10^2 = 4 1 x 10^1 = 2 1 x 10^0 = 1 It should have been: 1 x 2^9 = 512 0 x 2^8 = 0 0 x 2^7 = 0 0 x 2^6 = 0 1 x 2^5 = 32 0 x 2^4 = 0 1 x 2^3 = 8 1 x 2^2 = 4 1 x 2^1 = 2

[PHP] Integers

2010-06-30 Thread David McGlone
Hi again I'm trying to learn about octal numbers and I don't understand this: Binary: 00100010 breakdown: (001)= 1 (000)= 0 (101)=5 (111)=7 I know it's similar to unix permissions, but I'm not understanding where for example: 111 = 7 wikipedia has got me all confused. -- Blessings,

Re: [PHP] Integers

2010-06-30 Thread Stephen
On 10-06-30 10:02 PM, David McGlone wrote: Hi again I'm trying to learn about octal numbers and I don't understand this: Binary: 00100010 breakdown: (001)= 1 (000)= 0 (101)=5 (111)=7 I know it's similar to unix permissions, but I'm not understanding where for example: 111 = 7 In base

[PHP] Integers are not Variables..???

2001-01-16 Thread Dhaval Desai
Hi Guys!! Below is my code:(which works but See the ourput on this pageplease... http://dhaval.isamillionaire.com/loop.php form action="?php echo"$PHP_SELF"; ?" method="post" input type="hidden" name="flag" value="0" select name="recepients" onchange="javascript:submit();" option