Re: [PHP] Array problem

2004-03-22 Thread noginn
know! :) -noginn Firman Wandayandi wrote: Hi noginn, $columntotals[$count] = $columntotals[$count] + $sum; ^-^ ERROR HERE Seem you tried to assign columntotal[index] with itself and you never defined it

[PHP] Array problem

2004-03-21 Thread noginn
tice*: Undefined offset: 3 in *C:\WWW\Apache2\htdocs\php\coursework\reports_projects.php* on line *58 *Now I understand in a way why its happening, because im trying to insert into $columntotals something which isnt valid, but I can't think of a way to stop this at the moment. Hope to hear soon, thanks in advance guys. -noginn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] The <<< convension

2004-03-17 Thread noginn
I have read a range of comments on php.net manual where people have mentioned this, along with it being in the 'print' functions page itself. I have tryed to use it in some context before but without success, I have always been getting an error on some sort. For example; print $text; ?> I would

Re: [PHP] Stupid question

2004-03-17 Thread noginn
Jeff McKeon wrote: I've been using PHP for about 6 months and I'm ok with it but I'm now starting to get into more advanced stuff and inheriting project that other people have coded. One of the major stumpers I have is any line of code that contains: $this-> What does this do? I know it has som