Php > Strings
In some application you'll need to have zero filled values for example
In some application you'll need to have zero filled values for example Array(50,60,44,null,3); To this Array(050,060,044,000,003); This could be usefull for example when you test user data with database values, or to do any math calculus ... $v) { echo "result $k = ".zerofilled($v,2)."\n"; } ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage