Re: making changes on arrays (SOLVED)

From: Date: Fri, 30 Apr 2004 06:01:39 +0000
Subject: Re: making changes on arrays (SOLVED)
Groups: php.general 
Request: Send a blank email to php-general+get-185013@lists.php.net to get a copy of this message
cheap webhosting only 8.25 U$ dollar a month for 400 MB and bandwith 5 GB transfer and only 10 U$ dollar a month for 600 MB and bandwith 10 GB transfer OUR DATA CENTER : http://www.duoservers.com/?r=dejavu91/ and conctac email me at : support@megabisnis.com and yahoo messeger : roy_daniel91 --------------------------------------------------- Roy Daniel , ST --------------------------------------------------- IT Software and Support Engineer PT BERCA COMPUTEL Email : royd@bercacakra.com Yahoo Messenger ID: roy_daniel91 roy_daniel91@yahoo.com roydaniel91@yahoo.com.sg phone: +62-8161192832 IT Webhosting & Domain Register Solution - murah meriah support: linux, windows ,php, ASP,ASP.NET , OUR SERVER >> http://Webhostingmurah.com/servergue.html - in USA, http://webhostingmurah.com/newdatacenter/ - in England Katie Marquez <katie_marquez2004@ To: Travis Low <travis@dawnstar.com>, php yahoo.com> <php-general@lists.php.net> cc: 04/30/2004 11:46 AM Subject: Re: [PHP] making changes on arrays (SOLVED) Very cool, Travis! Thank you for answering so quickly! You guys work fast around here :) Katie --- Travis Low <travis@dawnstar.com> 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( $array ); $i++ ) > { > $array[$i] = doSomething( $array[$i] ); > } > > cheers, > > Travis > __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php THIS E-MAIL IS CERTIFIED VIRUS FREE BY SYMANTEC ANTIVIRUS

« previous php.general (#185013) next »