General Community > Chit Chat

What would you take??

<< < (2/6) > >>

Aquilo:
I don't know if the script is counting right but this might be a better representation...
<?php
$p[] = 1;
echo 'day ', '<b>1</b>  you get  <b>$0.01</b><br />';
for($i=1; $i<44; $i++)
{
$p[$i] = $p[$i-1]*2;
$y[$i] = $i == 1 ? $p[$i] + '1' : $p[$i] + $y[$i-1];
echo 'day <b>', ($i+1), '</b> you get <b>$', number_format($p[$i]/100,2,".",","), '</b> you now have <b>$', number_format($y[$i]/100,2,".",","), '</b><br />';
}
?>

Aquilo:
just noticed a bug < br / > is made into a break with <?php ?>


so every place the single quote breaks abouve there should be a break!!

<br />
<br />

<?php echo '<br />';?>

Bouminok:
that's quite a tough one... but at the risk of being greedy, a billion a day would do just nicely...

Shoeb Omar:
would depend on my dinancial situation.

If I was stable, I'd refuse the offer.

If I was managing I'd do the cents thing.

If I was in deep doodah I wouldn't mind the billion a day

Bouminok:

--- Quote from: Shoeb Omar on October 03, 2003, 09:38:41 AM ---would depend on my dinancial situation.

If I was stable, I'd refuse the offer.

If I was managing I'd do the cents thing.

If I was in deep doodah I wouldn't mind the billion a day

--- End quote ---

I'm in deep doodah...  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version