Re: [htmltmpl] loop through a hash structure without knowing the hash keys?
Brought to you by:
samtregar
From: Webmaster Techcode.N. <web...@te...> - 2005-12-02 14:40:17
|
DQotLS0tLSBPcmlnaW5hbCBNZXNzYWdlIC0tLS0tIA0KRnJvbTogQm9vbiBDaGV3IA0KDQpJIHdh bnQgYSB3YXkgdG8gcXVpY2tseSBkaXNwbGF5IGFsbCB0aGUgaW5mbyBpbiBhIHZhciAtIGEgRHVt cGVyIG91dHB1dCBpZiB5b3Ugd2lsbC4gIEJ1dCBtb3JlIHRoYW4gdGhhdCwgbGlrZSBpbiBzb21l IG90aGVyIHNlcnZlci1zaWRlIGxhbmd1YWdlLCB5b3UgY2FuIHF1ZXJ5IHRoZSBjb2x1bW4gbGlz dHMgKG9yIGhhc2gga2V5cykgYW5kIGxvb3AgdGhyb3VnaCB0aG9zZSBhbmQgdXNlIGEgcGllY2Ug b2YgZ2VuZXJpYyBjb2RlIHdoZW4gYWxsIHlvdSBpbnRlbmQgdG8gZG8gaXMgdG8gZGlzcGxheSBl dmVyeXRoaW5nIGluIHRoZSB2YXIuDQoNCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0gDQoN CkkgYWdyZWUgLSBzb21ldGhpbmcgbGlrZSBEYXRhOjpEdW1wZXIgaW4gSFRNTDo6VGVtcGxhdGUg Y29udGV4dCB3b3VsZCBiZSBncmVhdC4NCg0KQW5kIHlvdSBjYW4gYWxzbyAieW91IGNhbiBxdWVy eSB0aGUgY29sdW1uIGxpc3RzIChvciBoYXNoIGtleXMpIGFuZCBsb29wIHRocm91Z2ggdGhvc2Ui IGluIFBlcmwganVzdCBsaWtlIGluIGFueSBvdGhlciBzZXJ2ZXItc2lkZSBsYW5ndWFnZSAuLi4N Cg0KZm9yZWFjaChAYXJyYXkpew0KICAgIHByaW50ICRfLCJcbjxicj4iOw0KfQ0KDQoNCg0KLS0t LS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLSANClRoZSB0aWdodCBjb3VwbGlu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