Create PHP function to MIX a few items randomly and unique

Zaprto Objavljeno pred 6 letoma/leti Plačilo ob prevzemu
Zaprto Plačilo ob prevzemu

I have items, must be mix randomly, the result must be an array which contain only unique mixed items!

Details:

I have 5 item group with different number of items.

Group 1: rS1, rS2, rS3, rS4, rS5

Group 2: rA1, rA2, rA3, rA4, rA5, rA6, rA7, rA8, rA9

Group 3: rB1, rB2, rB3, rB4, rB5, rB6, rB7, rB8, rB9

Group 4: rC1, rC2, rC3, rC4, rC5, rC6

Group 5: rU1, rU2, rU3, rU4, rU5, rU6, rU7, rU8, rU9, rU10

Each item from the result must be contain 26 items:

1 item from "Group 1" + 9 items from "Group 2" + 9 items from "Group 3" + 6 items from "Group 4" + 1 item from "Group 5"

Examples:

- rS3,rA4,rA1,rA5,rA8,rA2,rA9,rA3,rA7,rA6,rB8,rB2,rB7,rB4,rB1,rB6,rB3,rB5,rB9,rC4,rC1,rC3,rC5,rC2,rC6,rU4

- rS5,rA3,rA5,rA2,rA1,rA4,rA7,rA8,rA6,rA9,rB5,rB1,rB3,rB6,rB2,rB9,rB7,rB4,rB8,rC2,rC1,rC6,rC4,rC3,rC5,rU9

- rS2,rA8,rA5,rA1,rA4,rA7,rA3,rA9,rA2,rA6,rB2,rB9,rB4,rB6,rB3,rB1,rB5,rB7,rB8,rC5,rC6,rC1,rC2,rC4,rC3,rU5

Once again: The result array must contain different (unique) 26 item sequences in all possible combination. The result array will bi inserted to a mysql table, 1 item = 1 row/field.

HTML JavaScript MySQL PHP Arhitektura porgramske opreme

ID projekta: #16134278

Več o projektu

13 predlogov Oddaljen projekt Aktiven pred 6 letoma/leti

13 freelancerjev ponuja v povprečju za $33 na tem delu

irfan811

I have dedicated the last four years to website deign and development, I have extensive knowledge with a variety of applications and web languages including Adobe applications as well as in-depth expertise in CSS3, HTM Več

$30 USD v 1 dnevu
(220 ocen)
7.4
Meagan26

php expert i can complete this for you Hello. I have read through your project and I am incredibly interested in taking on your project. I am an experienced developer with a diploma in the field of web developmen Več

$35 USD v 1 dnevu
(259 ocen)
7.5
andrescoslop

I have already done the array mix. Take a look at this lines of PHP code from the beggining of the script $Group1 = array($rS1, $rS2, $rS3, $rS4, $rS5); $Group2 = array($rA1, $rA2, $rA3, $rA4, $rA5, $rA6, $ Več

$20 USD v 1 dnevu
(10 ocen)
6.6
manum11

i am experienced developer of php, mysql, i saw the description you provided i can complete your project.

$25 USD v 1 dnevu
(35 ocen)
5.5
mayankinnovative

A proposal has not yet been provided

$15 USD v 1 dnevu
(193 ocen)
4.8
nagraphics5

Hello, I am PHP developer and can do your job as per your requirement. I understood your requirement and can do this. I am new on freelancer but have years experience in web development. Waiting for positive resp Več

$25 USD v 2 dneh
(9 ocen)
3.7
pankaj006

Please give us an opportunity to show our expertise in the same. I would like to work with you wid best outputs always. Please initiate chat so that we can discuss more and I can suggest you better.

$25 USD v 1 dnevu
(2 ocen)
1.1
garciaph

I am a computer scientist. I have great skills on programming efficiently (maybe performance isn't one of your goals, but it's something that's always nice to take on account) and on website development, since I worked Več

$20 USD v 1 dnevu
(0 ocen)
0.0