Re: Variable substitution to replace switch



Rami Elomaa kirjoitti:
damezumari kirjoitti:
Thanks!

strtotime()= it is!

It would still be good to get my question answered:

"It works OK, but I would like to replace the switch statement with
one
statement a la:

&$type = &$type + $add;

Can that be done in php?"


Okay sorry, forget my reply, I've been reading your question wrong, I didn't get what you actually were doing. Sorry, please ignore me. :)

--
Rami.Elomaa@xxxxxxxxx

"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze
.