sprintf does not format.
| From: | Michel Sabatino | Date: | Mon, 11 Sep 2000 18:18:58 +0000 |
| Subject: | sprintf does not format. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16203@lists.php.net to get a copy of this message | ||
Hi.
I am using php 4.0.1pl2
I cannot get the format I want.
<?
$text = sprintf("%25s%25s", "Text one", "Text two");
print $text;
?>
I just get :
Text oneText two
Why?
Where am I wrong?
Thanks in advance.
Michel.