Re: [PHP] Array and Object

2008-03-26 Thread Nathan Nobbe
On Mon, Mar 24, 2008 at 11:23 AM, VamVan <[EMAIL PROTECTED]> wrote: > Well anyways please let me handle the problems with decoding. I just > want to know if there is a way that I could traverse through all the > elements of the simplexmlobject and still keep the same structure of > the array. What

Re: [PHP] Array and Object

2008-03-24 Thread Greg Bowser
That top post was totally not I... It was my roommate playing with my computer *nods*.

Re: [PHP] Array and Object

2008-03-24 Thread Greg Bowser
Take a look at array_walk(), array_walk_recursive(), array_map() in the PHP manual. On Mon, Mar 24, 2008 at 2:04 PM, tedd <[EMAIL PROTECTED]> wrote: > At 10:23 AM -0700 3/24/08, VamVan wrote: > >Well anyways please let me handle the problems with decoding.mail.com> > wrote: > > > At 10:00 AM -07

Re: [PHP] Array and Object

2008-03-24 Thread tedd
At 10:23 AM -0700 3/24/08, VamVan wrote: Well anyways please let me handle the problems with decoding.mail.com> wrote: > At 10:00 AM -0700 3/24/08, VamVan wrote: >I cannot do that. because Simple xml element retrieves everything in >UTF8. I need to decode it to latin1 for comparison with an

Re: [PHP] Array and Object

2008-03-24 Thread VamVan
Well anyways please let me handle the problems with decoding. I just want to know if there is a way that I could traverse through all the elements of the simplexmlobject and still keep the same structure of the array. What I mean is [Advanced Virtualization Technologies in Workstation 6-20080320

Re: [PHP] Array and Object

2008-03-24 Thread tedd
At 10:00 AM -0700 3/24/08, VamVan wrote: I cannot do that. because Simple xml element retrieves everything in UTF8. I need to decode it to latin1 for comparison with another array. Unless there is something here that I don't understand, there is no decoding UTF-8 to Latin1 Latin1 is a subset

Re: [PHP] Array and Object

2008-03-24 Thread VamVan
I cannot do that. because Simple xml element retrieves everything in UTF8. I need to decode it to latin1 for comparison with another array. My query still remains the same. On Mon, Mar 24, 2008 at 9:56 AM, Eric Butera <[EMAIL PROTECTED]> wrote: > > On Mon, Mar 24, 2008 at 12:50 PM, VamVan <[EMAIL

Re: [PHP] Array and Object

2008-03-24 Thread Eric Butera
On Mon, Mar 24, 2008 at 12:50 PM, VamVan <[EMAIL PROTECTED]> wrote: > Hello All, > > I am having an array structure as displayed below, The title is the > key and value is the simplexmlelementobject. > > [Advanced Virtualization Technologies in Workstation 6-20080320 1604] > => SimpleXMLElemen