|
Posted by "Ron Eggler (Paykiosks)" on 01/20/06 00:56
Am Donnerstag, den 19.01.2006, 16:42 -0600 schrieb Richard Lynch:
> Grrrr. I forgot PHP Object printing was so primitive, even under
> var_dump. :-(
>
> function walkout($object, $indent = 0){
> if (is_object($object) or is_array($object)){
> foreach($object as $k => $v){
> echo str_repeat(' ', $indent), $k, ' => ';
> walkout($v, $indent + 1);
> }
> }
> else echo $v, "<br />\n";
> }
>
> echo "<pre>";
> walkout($xml);
> echo "</pre>";
yes, and now? it just prints every subject like:
SKUlisting =>
globalInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
carrierInfo =>
cardSKU =>
card =>
cinfo =>
changed the function a bit [just inserted <br>]
I have no idea yet, how I'm gonna reach my goal... :(
__________________________________________
Ron Eggler
Intern
866-999-4179
www.paykiosks.net
Navigation:
[Reply to this message]
|