我正在编写一个脚本,需要将布局格式化为3 numbers ( 000 )....当我返回我的SQL时,我得到的结果可能是'1',可能是'100',可能是'50'它可能是任何地方在0到999之间....我怎么能总是让它作为3号布局返回.
3 numbers ( 000 )
例如,如果结果返回1,则需要读取001,如果返回50,则需要读取050,依此类推.
php
php ×1