Re: tedd's Friday Post ($ per line)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10-10-07 02:04 PM, Joshua Kehn wrote:
In the case payment does come down to lines of code written I'm already covered.

if( count>  5)
{
     /* Bracing Style
}

I hope your $count var is being incremented properly under this model:

<?php

function increment( &$count )
{
    $count = 0;
    if( $count == 0 )
    {
        $count = 1;
    }
    else
    if( $count == 1 )
    {
        $count = 2;
    }
    else
    if( $count == 2 )
    {
        $count = 3;
    }
    else
    if( $count == 3 )
    {
        $count = 4;
    }
    else
    if( $count == 4 )
    {
        $count = 5;
    }
    else
    {
        throw new Exception( 'Increment out of bounds' );
    }
}

?>

Just think how much money could be made if you need to support large datasets!!! CHAAAAAAAAAAAAAA-CHING!

Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux