Re: [PHP] Problems with sprintf and swapping variables

2001-05-02 Thread Richard Lynch
> Happy %2/$d'th birthday %1/$s. > > like the docs says your supposed to do it doesn't work and all you see is: > Happy $d'th birthday $s. > > What is up with this.. if you use %2/%d it sort of works, but it throws all > my other variables out of whack.. any help with this would be appreciative.

[PHP] Problems with sprintf and swapping variables

2001-04-30 Thread Edward McLain
Ok.. now I hope that somebody can help with this one... I'm trying to write a form field on a webpage that makes data entry of ever changing fields easy.. In otherwords: Enter Style: You might enter: Hello %s, how are you today.. I am fine.. I here you are turning %d. Now this works when you p