[PHP] writing multidimensional arrays to file ?

2006-01-30 Thread Gregory Machin
Hi I'm looking for a good example of writing multidimensional arrays, and reading them back . Thanks for you time . -- Gregory Machin [EMAIL PROTECTED] [EMAIL PROTECTED] www.linuxpro.co.za www.exponent.co.za Web Hosting Solutions Scalable Linux Solutions www.iberry.info (support and admin) +27

RE: [PHP] writing multidimensional arrays to file ?

2006-01-30 Thread Albert
Gregory Machin [mailto:[EMAIL PROTECTED] Hi I'm looking for a good example of writing multidimensional arrays, and reading them back . http://za2.php.net/manual/en/function.serialize.php and http://za2.php.net/manual/en/function.unserialize.php Call serialize() when saving the array to the

Re: [PHP] writing multidimensional arrays to file ?

2006-01-30 Thread Jochem Maas
Gregory Machin wrote: Hi I'm looking for a good example of writing multidimensional arrays, and reading them back . serialize() and alternatively if you find it handy to be able to manually read the contents of the array written to the file there is also var_export() which can return valid php

Re: [PHP] writing multidimensional arrays to file ?

2006-01-30 Thread Gregory Machin
Thanks for you input. I will lookinto alt the sugetions. Many thanks/. Have a grate day . On 1/30/06, Jochem Maas [EMAIL PROTECTED] wrote: Gregory Machin wrote: Hi I'm looking for a good example of writing multidimensional arrays, and reading them back . serialize() and alternatively if