Jump to content
Sign in to follow this  
bebrouss

I need your help for a random problem in asp

Recommended Posts

Hi , It my first post on the forum but i'm a old user of your web site. My problem is in asp i need tor creat a random fonction like loto. I explain y probleme, i have an arrey like this (19,20,21,22,23,24,25) and it can be any longueur with many number other exmple (99,100,101,104,105) What i need its too place in different order like a random this array First exemple original=(19,20,21,22,23,24,25) after (22,20,24,21,23,19,25)after (20,19,21,24,23,22,25)and ... First step i do its a code to find how number of value in array.I count the array,I repalce all , by nothing ans i recount the array now i know in how i need to split my arraybut i dont how to place my value in a different order and not 2 time every value need to be there but in a different order Sorry for my english i try my best If some body have a suggest for me its appreciate. I need to do this on a looping for a multiple insert in a bd but for that its not a problem for me Thanks you Have a nice day

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...