Re: Setting printf results as a variable

From: Date: Fri, 09 Feb 2007 23:08:40 +0000
Subject: Re: Setting printf results as a variable
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-248697@lists.php.net to get a copy of this message
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 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...


« previous php.general (#248697) next »