Setting printf results as a variable
| From: | Stephen | Date: | Fri, 09 Feb 2007 22:52:15 +0000 |
| Subject: | Setting printf results as a variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-248695@lists.php.net to get a copy of this message | ||
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.