Jump to content

how to make<1> index of an Array and <2>Indexes of Index


vikal

Recommended Posts

well

 

let's see the example..to understand the my problem

 

i am trying to making Bingo game using php..since there is no problem while generating 25 unique random numbers in 5X5 matrix out of 90 given numbers..now problem is in next step while selecting a bingo number (out of 25 ie from 5X5) we need to select store this no in an array...but we have already put 25 numbers in an array...so in this case we have to make an index...to store that Bingo number....

 

since this bingo number need to compare with another Bingo number..if similar system discard that number and at the next move if compare n did not match then put it to the same place where a first bingo number was kept..

 

like this there will be a pattern of bingo....

 

 

now simply gave me the solution of this problem...i am having problem while implementing it

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.