Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A couple of things' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A couple of things
Authored by: pmccann on Jan 09, '02 05:32:47PM

Desperate, lonely old poster cleaning up his own mess....

[[ahem.... the "foreach $file ()" doesn't do what it's supposed to: something like "foreach $file () " should do the trick...]]

Apologies to anyone who might have stared at that sentence for more than a couple of seconds! I'm now guessing that this is what happened to the original post: inside the parentheses was a set of angle brackets --a file glob-- that the geeklog html stripper removed.

I'll submit this one using "Plain Old Text", as any escapes I've tried in html mode have failed miserably. The sentence above should have read:

'something like "foreach $file (<*.jpg>) " should do the trick...'

(The script in my first message is fine...)

Paul, forever battling mini-template languages



[ Reply to This | # ]