Re: printf....
| From: | Mike Migurski | Date: | Wed, 01 Oct 2003 19:49:02 +0000 |
| Subject: | Re: printf.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164612@lists.php.net to get a copy of this message | ||
>Warning: printf(): too few arguments in
>/home/sites/site8/web/index_test.php on line 34
>
>I cannot for the life of me figure out what the problem is. I've looked
>thru archives, examples, and pages of a book all about printf, and this
>just doesn't add up to me.. Anyone see the problem?
To print a literal '%' (as in '100%'), you need to escape it with another
'%' (as in '100%%').
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html