You are here: Re: creating a cumulative total column, but not in sequence « PHP Programming Language « IT news, forums, messages
Re: creating a cumulative total column, but not in sequence

Posted by mantrid on 12/28/07 20:53

> >
> > See the difference? Now, your homework is to go back to the PHP manual
and
> > read everything about references and the "foreach" language construct
;-)
> >
> > --
> > ----------------------------------
> > Ivαn Sαnchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
> >
> > No, mamα, no...os·GΫ{;Θ... NO CARRIER
>
>
> I purposely left the & out as initially it gave an error (below) with it,
so
> I thought it was just a typo
>
> Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in
> /home/iddsoftw/public_html/cgtcalc/profitloss.php on line 368
>
> Is it to do with the php version I use, which I believe is 4.something
> Also I presume the
>
>

ok
I looked at the manual. and it does look like its due to my version of php.
Seems using & to modify array's elements is only available in version 5.
What should I do?
Ian
ps I will look for the answer in the meantime myself, so you dont think Im
lazy. But its all starting to look complicated with this referencing stuff
Ian

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация