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

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация