edi Posted February 3, 2010 Report Share Posted February 3, 2010 tiek ievadīti divi skaitļi no un līdz piem. $no = 04; $lidz = 100; kā lai izvada 04 05 06 07 08 .. 10 11 .. 99 100 -- un ja tiek ievadīti $no = 001; $lidz = 100; tad 001 002 .. 011 .. 100 izvada. ceru ka saprast var :D Quote Link to comment Share on other sites More sharing options...
2easy Posted February 3, 2010 Report Share Posted February 3, 2010 str_pad() Quote Link to comment 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.