pkarthik24 Posted October 25, 2010 Posted October 25, 2010 Friends, Now i am getting order ID has 1, 2, 3, 4, etc., i want a Random order ID were it will be 5 or 7 digit it will have random Number. how to do this? any body did before?
germ Posted October 25, 2010 Posted October 25, 2010 How to change the starting order number Personally, I haven't seen any posts on how to randomize it. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
♥mdtaylorlrim Posted October 25, 2010 Posted October 25, 2010 You could put a random number generator in the code, but you would also have to put a function to check and be sure it has not yet been used. What you may run into is code elsewhere and how it will affect something else. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.