I assumed so, this is why the datastructure looks weird. Are you using a SOAP client( which client )? are you setting the WSDL? Ammar
--- Ala'a Ibrahim <[EMAIL PROTECTED]> wrote: > Yes, it is > > On 5/3/06, Anubis HH <[EMAIL PROTECTED]> wrote: > > > > Just out of curiousity, where are you getting this > > data from? Is this a SOAP response or something? > > > > Ammar > > > > --- Ala'a Ibrahim <[EMAIL PROTECTED]> wrote: > > > > > Well thanks, Zaid, but the problem that foreach > with > > > objects only works with > > > PHP5, not with PHP4. > > > Any way, I changed the whole approch for my > code, > > > thanks for your help. > > > > > > > > > On 5/2/06, zaid emeish <[EMAIL PROTECTED]> > wrote: > > > > > > > > Ala'a, > > > > What you can do is use the "foreach" > function > > > with the output, this will > > > > make your life easier. > > > > > > > > --Zaid > > > > > > > > > > > > On 5/2/06, Ala'a Ibrahim > <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > > > I guess there is a little misunderstanding > here, > > > I'm not using var_dump > > > > > for anything, I just want to see what is in > it, > > > I'm not using it to parse or > > > > > do anything, anyway thanks for your help > > > > > > > > > > > > > > > On 5/2/06, ma'moon <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > I'm not sure if you are using the correct > > > function then !!!, because > > > > > > var_dump couldn't be assigned to anything, > try > > > using var_export i think that > > > > > > this function do the same functionality > like > > > var_dump but it could be > > > > > > assigned to a variable and then you can > access > > > the variable information from > > > > > > it, most likely that this is what you are > > > seeking for, try it and hopefully > > > > > > that you'll find what you are looking for > :) > > > > > > > > > > > > > > > > > > On 5/2/06, Ala'a Ibrahim > > > <[EMAIL PROTECTED] > wrote: > > > > > > > > > > > > > > I'm sorry, but am I missing something > here, > > > I didn't say that the > > > > > > > function which returned this data was > > > var_dump, I use it to dump the data > > > > > > > only, to know what the hell is going on, > the > > > returned data is what I'm > > > > > > > seeking. > > > > > > > > > > > > > > > > > > > > > On 5/2/06, ma'moon <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > > > > > hi ala'a, > > > > > > > > it seems that this function doesn't > > > resturn any values, actually > > > > > > > > it returens "void" according to " > > > > > > > > > > > > http://www.php.net/manual/en/function.var-dump.php", > > > it only > > > > > > > > prints some information about a > variable > > > and so i don't think that you can > > > > > > > > access the output of this function > like we > > > normaly do in objects or > > > > > > > > someother data structures like arrays > or > > > so, you cannot even asign this > > > > > > > > function to anything, it only shows > you > > > some info's about the desired > > > > > > > > varibale, check out the manual to make > > > sure, have a nice day ;) > > > > > > > > > > > > > > > > On 5/2/06, Ala'a Ibrahim > > > <[EMAIL PROTECTED] > wrote: > > > > > > > > > > > > > > > > > Hi Guys, > > > > > > > > I'm facing this stupid problem if > anybody > > > could led a hand in it, I'm calling a function > which > > > returns some kind of complex data, > > > > > > > > > > > > > > > > > > > > > > > > when dumping this data using var_dump, > I > > > get some thing like this > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > . > > > > > > > > . > > > > > > > > . > > > > > > > > array(3) { > > > > > > > > [0]=> > > > > > > > > object(SimpleObject)#4 (1) { > > > > > > > > ["lang-en"]=> > > > > > > > > string(15) "Text Comes Here" > > > > > > > > > > > > > > > > > > > > > > > > } > > > > > > > > . > > > > > > > > . > > > > > > > > . > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The problem is that to access the vale > of > > > this thing you should have something like > > > $da...[0]-> > > > > > > > > lang-en but lang-en is an invalid > > > > > > > > > > > > > > > > variable name, so This is not a > correct > > > way to answer it, I need to access that > variable, > > > but I'm just missed up, > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > any ideas > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Ala'a > A. > > > Ibrahim > > > > > > > > http://www.alaa-ibrahim.info/ > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > Jordan PHP Users Group > > > > > > > > http://php.jolug.org/ > > > > > > > > Php mailing list > > > > > > > > [email protected] > > > > > > > > > > > > http://mail.jolug.org/mailman/listinfo/php_jolug.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > Jordan PHP Users Group > > > > > > > > http://php.jolug.org/ > > > > > > > > Php mailing list > > > > > > > > [email protected] > > > > > > > > > > > > http://mail.jolug.org/mailman/listinfo/php_jolug.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Ala'a > A. > > > Ibrahim > > > > > > > http://www.alaa-ibrahim.info/ > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > Jordan PHP Users Group > > > > > > > http://php.jolug.org/ > > > > > > > Php mailing list > === message truncated ===> _______________________________________________ > Jordan PHP Users Group > http://php.jolug.org/ > Php mailing list > [email protected] > http://mail.jolug.org/mailman/listinfo/php_jolug.org > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Jordan PHP Users Group http://php.jolug.org/ Php mailing list [email protected] http://mail.jolug.org/mailman/listinfo/php_jolug.org
