Re: [PHP] array simple question

2005-09-13 Thread [EMAIL PROTECTED]
tray print the array this way: echo 'pre'; print_r($array); echo '/pre'; -afan matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will print an array but if that array has sub-arrays it prints everything and if you

Re: [PHP] array simple question

2005-09-13 Thread Jordan Miller
please provide code and an example output, and say how this is different than you would like. what you describe is unclear. Jordan On Sep 13, 2005, at 4:04 PM, matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will

Re: [PHP] array simple question

2005-09-13 Thread Jasper Bryant-Greene
matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will print an array but if that array has sub-arrays it prints everything and if you don't use more command or a pipe of some kind that could be useless in some cases, but

Re: [PHP] array simple question

2005-09-13 Thread Mike Bellerby
If you want to print the keys for all the arrays in the main array then use allkeys. matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will print an array but if that array has sub-arrays it prints everything and if