Re: Setting printf results as a variable
| From: | Fredrik Thunberg | Date: | Fri, 09 Feb 2007 22:58:43 +0000 |
| Subject: | Re: Setting printf results as a variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248696@lists.php.net to get a copy of this message | ||
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, Stephen. sprintf...