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 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. 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() 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
Archived
This topic is now archived and is closed to further replies.