Re: Re: adding info to an array?
| From: | Jason Wong | Date: | Fri, 02 Aug 2002 03:18:32 +0000 |
| Subject: | Re: Re: adding info to an array? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110768@lists.php.net to get a copy of this message | ||
On Friday 02 August 2002 06:30, Hawk wrote:
> hahahaha, that was so stupid of me... should have put if (! $ra) { $ra =
> array(); } but I seemed to have missed this.. lol :P
> thanks for your help and sorry for being an idiot ;D
It's better to initialise $ra outside of the for-loop.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Save yourself! Reboot in 5 seconds!
*/