fatima Posted March 4, 2010 Share Posted March 4, 2010 actually i am new to this forum i have some thing i couldn't do it in php and i expect from you help i have mysql table which have a zerofill number for 10 digits like this 0000000001 i want to show it like this 000 000 0001 any help will be appreciated Quote Link to comment https://forums.phpfreaks.com/topic/194174-please-help-me-in-this-php-code/ Share on other sites More sharing options...
wildteen88 Posted March 4, 2010 Share Posted March 4, 2010 You can use number_format. Quote Link to comment https://forums.phpfreaks.com/topic/194174-please-help-me-in-this-php-code/#findComment-1021639 Share on other sites More sharing options...
jskywalker Posted March 4, 2010 Share Posted March 4, 2010 i think he cannot use number_format(), but has to do somethings with substr() Quote Link to comment https://forums.phpfreaks.com/topic/194174-please-help-me-in-this-php-code/#findComment-1021667 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.