[PHP] -> operator and :: (formal names?)

2004-07-26 Thread Katie Marquez
Hi! I did a search of the PHP manual for these: -> and :: I know what they are used for, but what I don't know is what they are formally called. Can someone tell me what they are called (short of using the symbol in the name)? The PHP manual's search engine returns me (among others)the "Chapte

Re: [PHP] making changes on arrays (SOLVED)

2004-04-29 Thread Katie Marquez
Very cool, Travis! Thank you for answering so quickly! You guys work fast around here :) Katie --- Travis Low <[EMAIL PROTECTED]> wrote: > Hi Katie, > > The foreach construct operates on copies of the > array values. I usually just > stick to C-like syntax: > > for( $i = 0; $i < count( $arr

[PHP] making changes on arrays

2004-04-29 Thread Katie Marquez
I'm practicing from a beginning PHP book regarding arrays and the PHP manual, so please no one flame me that I didn't try to research before posting. I'm thinking that what I want to do requires me to use the function array_walk or a foreach loop, but I'm not so sure so maybe someone help here can