Re: [PHP] Setting printf results as a variable

2007-02-09 Thread Stephen
Thanks for the quick response... I feel stupid now though! I can't believe I missed that. Kind regards, Stephen. Fredrik Thunberg wrote: Stephen wrote: Hi list, I'm trying to make a script which requires that I perform a printf() formatting on a string, but instead of outputting the result I

Re: [PHP] Setting printf results as a variable

2007-02-09 Thread Fredrik Thunberg
Stephen wrote: Hi list, I'm trying to make a script which requires that I perform a printf() formatting on a string, but instead of outputting the result I need to set the result as a variable to write to a file. Can any one advise me on how to do this? or if it's even possible? Kind regards,

[PHP] Setting printf results as a variable

2007-02-09 Thread Stephen
Hi list, I'm trying to make a script which requires that I perform a printf() formatting on a string, but instead of outputting the result I need to set the result as a variable to write to a file. Can any one advise me on how to do this? or if it's even possible? Kind regards, Stephen. -- PH