note 45723 added to function.sprintf
| From: | mickep76 at yahoo dot com | Date: | Thu, 16 Sep 2004 10:37:12 +0000 |
| Subject: | note 45723 added to function.sprintf | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-76816@lists.php.net to get a copy of this message | ||
If you simply wan't to pad space to the beginning of the string usually for correctly formating
HTML. You cant type:
printf("%' 10s%s, "", "<INPUT ...");
This will always place 10 space in front of the string.
----
Manual Page -- http://www.php.net/manual/en/function.sprintf.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45723
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45723&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45723&report=yes
Search -- http://master.php.net/manage/user-notes.php