all.
later,
lux
?php
function a ($hash, $text = "") {
$attr_text = "";
while (list ($k, $v) = each ($hash)) {
$attr_text .= " $k=\"$v\"";
}
return "a$attr_text$text/a";
}
function img ($hash) {
you get more
than one approach and you're more adaptable to situations that PHP (or
whatever your language of choice may be) can't work in.
(And I'm far too opinionated for my own good)
later
Lux
--
John Luxford
Simian Systems
w: www.simian.ca
e: [EMAIL PROTECTED]
p: 204.946.5955
overtaken python in popularity!
later
lux
Josh G wrote:
What's this ruby? Care to send the list a URL so we can go have a
look for ourselves?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers
account (It was bad enought they
wouldn't let me do that myself), they accidentally wiped my whole
account, reset it, and acted like nothing had happened and I wouldn't
notice my shit was gone.
It's kind of funny in hind sight.
Thanks!
Lux
--
John Luxford
Simian Systems
w: www.simian.ca
e
4 matches
Mail list logo