SV: SV: RE: [PHPLIB] I can't keep the PHPLIB-"cookie" From: Lars S. Geisler (larssg <email protected>)
Date: 11/28/99

[ Hi --

We load all possible URLs into an array, then array_walk a function which
does the $sess->url assignment. See the PHP docs for array_walk - it's
fast, and does exactly what you're looking for.

Bob. ]

I understand that and I have now read about array_walk in the manual. Here's
a sample string - in Danish, but you get the idea:

Så er <a href="arrangementer_vis.php3?nummer=8">CrazyNet 8 (Vamdrup)</a> og
<a href=\"arrangementer_vis.php3?nummer=9\">CrazyNet 9 (Odense)</a> afholdt.
Vi er ved at planlægge det næste træf (<a
href=\"arrangementer_vis.php3?nummer=10\">CrazyNet 10</a>), og den
vejledende dato er 4. - 6. februar, men andet kan endnu ikke oplyses. I
Vamdrup vil der blive afholdt et CrazyNet Millenium omkring nytår. CNM -
Årtusindets sjoveste træf!

What do I have to do to change the string into an array that I can
array_walk the $sess->url on? And how do I convert that back to a string?

Lars Sehested Geisler
larssg <email protected>

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.