How to Use vsprintf in PHP
In this article I will explain how vsprintf Function can be used in PHP.
This function writes a formatted string to a variable.
$str = "Hi";
$number = 123;
$txt = vsprintf("%s Swati. Day number %u",array($str,$number));
You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here